RE: Error connecting to mysql db
This is usually one of two things... 1) MySQL is not running on that machine 2) Permissions for accessing the socket via PHP. More likely this first, but try both. Check you [HOST].err file to be sure. J.R. -Original Message- From: Ferguson, Michael [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 11:57 AM To: [EMAIL PROTECTED] Subject: Error connecting to mysql db G'Day All, When I try to connect to my mysql/php through Apache I get the following error: Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /var/www/html/taxes/db_mysql.php on line 99 Database error: pconnect(localhost:3306, root, $DBPassword) failed. MySQL Error: 0 () Session halted. Can someone please help me to determine what's wrong here. Thanks very much Ferg -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
RE: Error connecting to mysql db
J.R. Bullington replied but when I click on the message I get a popup box that says: Can't open this item. Your Digital ID name can not be found by the underlying security system. J.R. please send me another reply. Thanks -Original Message- From: Ferguson, Michael Sent: Monday, October 25, 2004 11:57 AM To: [EMAIL PROTECTED] Subject: Error connecting to mysql db G'Day All, When I try to connect to my mysql/php through Apache I get the following error: Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /var/www/html/taxes/db_mysql.php on line 99 Database error: pconnect(localhost:3306, root, $DBPassword) failed. MySQL Error: 0 () Session halted. Can someone please help me to determine what's wrong here. Thanks very much Ferg -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
RE: Error connecting to mysql db
Thanks very much. I appreciate it. -Original Message- From: J.R. Bullington [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 12:46 PM To: [EMAIL PROTECTED] Subject: FW: Error connecting to mysql db This is usually one of two things... 1) MySQL is not running on that machine 2) Permissions for accessing the socket via PHP. More likely this first, but try both. Check you [HOST].err file to be sure. J.R. -Original Message- From: Ferguson, Michael [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 11:57 AM To: [EMAIL PROTECTED] Subject: Error connecting to mysql db G'Day All, When I try to connect to my mysql/php through Apache I get the following error: Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /var/www/html/taxes/db_mysql.php on line 99 Database error: pconnect(localhost:3306, root, $DBPassword) failed. MySQL Error: 0 () Session halted. Can someone please help me to determine what's wrong here. Thanks very much Ferg -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]