RE: [PHP-DB] Big Problems Connecting to MySQL

From: Date: Wed, 27 Mar 2002 19:17:39 +0000
Subject: RE: [PHP-DB] Big Problems Connecting to MySQL
Groups: php.db 
Request: Send a blank email to php-db+get-17948@lists.php.net to get a copy of this message
You need to ensure that mysql.sock has the correct read-write-execute permissions Check the mail list archives; this question is asked and answered EVERY week -----Original Message----- From: Liam Gibbs [mailto:liamgibbs@yahoo.com] Sent: Wednesday, March 27, 2002 1:17 PM To: php-db@lists.php.net Subject: [PHP-DB] Big Problems Connecting to MySQL Hi, I'm having some big problems even running any mysql_connect commands. I get the results at the bottom of this e-mail from running a simple mysql_connect command. Some things to consider are that I'm accessing my web site through port 8080, and I'm not sure what username, password, or hostname I should be using. Does anyone know how to find out what username, password, and hostname I should be using? And should I include my port number after my hostname? Sorry. I'm new at this stuff. =============================== Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /index.php on line 9 Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /index.php on line 9 __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#17948) next »