Run Terminal (from the Utilities folder, in the Applications folder). Type cat > NEWFILENAME and press return. Note 1: Instead of NEWFILENAME enter the name of the file you want to create. Note 2: Add suffix ".txt" to the end of the file name to make it easy to open in Mac OS. Type the text you want in the file, press return between lines. Type control D to complete the file.
Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 35
Warning: mysqli_connect(): Error while reading greeting packet. PID=45595 in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 35
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 35
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 36
Could not connect to MySQL: