Hello, I'm new to the list and need help of course.
My problems are in connecting to MySQL. I am running Panther 10.38. , MySQL 4.018. I have removed all old files before reinstalling MySQL. I have installed the MySQL Startup Item and it is correctly located.
Output from the Terminal is as follows:
[raisinspace:~] chueewow% sudo /Library/StartupItems/MySQL/MySQL start Starting MySQL database server [raisinspace:~] chueewow% /usr/local/mysql/bin/mysql ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[raisinspace:~] chueewow% sudo /Library/StartupItems/MySQL/MySQL start Starting MySQL database server [raisinspace:~] chueewow% cd /usr/local/mysql [raisinspace:/usr/local/mysql] chueewow% sudo ./bin/mysqld_safe & [1] 2966 [raisinspace:/usr/local/mysql] chueewow% Starting mysqld daemon with databases from /usr/local/mysql/data 040612 23:32:05 mysqld ended
Also, from my HTML browser (SAfari) when :
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /Users/chueewowee/Sites/index.php on line 21
Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /Users/chueewowee/Sites/index.php on line 25
Warning: mysql_select_db(): A link to the server could not be established in /Users/chueewowee/Sites/index.php on line 25
Warning: mysql_create_db(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /Users/chueewowee/Sites/index.php on line 29
Warning: mysql_create_db(): A link to the server could not be established in /Users/chueewowee/Sites/index.php on line 29 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /Users/chueewowee/Sites/index.php on line 37
Warning: mysql_select_db(): A link to the server could not be established in /Users/chueewowee/Sites/index.php on line 37 Can't Select CONTACT Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /Users/chueewowee/Sites/index.php on line 43 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I have sought and tried all kinds of advice. But either it is not clear or working for me. JP
JP
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]