Date: 08/24/01
- Next message: Andrei Zmievski: "Re: [PHP-DEV] for the php-gtk people"
- Previous message: Jason Greene: "Re: [PHP-DEV] Re: Re: sysvsem extention question"
- In reply to: gvlsivarao <email protected>: "[PHP-DEV] Bug #12946: Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 12946
Updated by: sniper
Reported By: gvlsivarao <email protected>
Old Status: Open
Status: Closed
Bug Type: MySQL related
Operating System: linux mandrake 8.0
PHP Version: 4.0.5
New Comment:
Fixed in PHP 4.0.6
Previous Comments:
------------------------------------------------------------------------
[2001-08-24 09:33:23] gvlsivarao <email protected>
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 this bug report at http://bugs.php.net/?id=12946&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrei Zmievski: "Re: [PHP-DEV] for the php-gtk people"
- Previous message: Jason Greene: "Re: [PHP-DEV] Re: Re: sysvsem extention question"
- In reply to: gvlsivarao <email protected>: "[PHP-DEV] Bug #12946: Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

