Bug #12946: Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mys
| From: | gvlsivarao at archeanit dot com | Date: | Fri, 24 Aug 2001 13:33:24 +0000 |
| Subject: | Bug #12946: Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mys | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64244@lists.php.net to get a copy of this message | ||
From: gvlsivarao@archeanit.com
Operating system: linux mandrake 8.0
PHP version: 4.0.5
PHP Bug Type: MySQL related
Bug description: Warning: Can't connect to local MySQL server through socket
'/var/lib/mysql/mys
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
--
Edit bug report at: http://bugs.php.net/?id=12946&edit=1