I receive the error when trying to connect to MySQL database:
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (111) in /usr/home/cupid/www/sql.php on line 13
The code I use to connect is:
$link = mysql_connect ("localhost", "username", "password"); //with the username and
pw filled in obviously.
Is this some type of config problem between MySQL and PHP or what? Any help is
appreciated.
It ia a LAMP system BTW.
Derick
- Re: [PHP-DB] connecting to database..? Derick Dorner
- Re: [PHP-DB] connecting to database..? Terry Romine
- Re: [PHP-DB] connecting to database..? rice
