|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-24 10:21 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 05:00:01 2025 UTC |
Hi, I am getting the following when i try to open my crm application versions are ... apache-1.13.20 php-4.0.5 mysql-3.23.36 Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /var/www/html/relata/wwwroot/lib/phplib/db_mysql.inc.php on line 76 Database error: connect(localhost, root, $Password) failed. MySQL Error: () Session halted. even i tried with simple code ... <?php $link = mysql_connect ("localhost", "root", "") or die ("Could not connect"); print ("Connected successfully"); mysql_close ($link); ?> i used open my mysql using following command and it will open for me to update also. >mysql -u root ------------i don't have password mysql> If anyone had solution please... thanQ with best regards gvlsivarao