Date: 05/24/01
- Next message: Mats Remman: "RE: [PHP-DEV] Bug #11079 Updated: Problem with old code to use mysql"
- Previous message: kaio <email protected>: "[PHP-DEV] Bug #11080: fopen(url) sleep before running"
- Next in thread: Mats Remman: "RE: [PHP-DEV] Bug #11079 Updated: Problem with old code to use mysql"
- Reply: Mats Remman: "RE: [PHP-DEV] Bug #11079 Updated: Problem with old code to use mysql"
- Maybe reply: derick <email protected>: "[PHP-DEV] Bug #11079 Updated: Problem with old code to use mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 11079
Updated by: swm
Reported By: ncosta <email protected>
Old-Status: Open
Status: Feedback
Bug Type: MySQL related
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Are you sure the MySQL server is binding to domain sockets?
ls -l /tmp/mysql.sock
If mysqld is not running or is running with tcp connections only, then your default mysql_connect() will not work.
Previous Comments:
---------------------------------------------------------------------------
[2001-05-24 06:15:32] ncosta <email protected>
Hello...
I'm use the Linux Mandrake 8.0 with mysql 3.23.32 and Apache 1.3.19. Recently I install the 4.0.5 version of php and I can't use my old code to acess mysql server. The mysql_connect function give me the error "Can't connect /tmp/mysql.sock (2)".
This old code was working fine with 4.0.4pl1 version of php.
Can you tell what is the problem?
Best Regards.
Nuno Costa.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11079&edit=2
-- 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: Mats Remman: "RE: [PHP-DEV] Bug #11079 Updated: Problem with old code to use mysql"
- Previous message: kaio <email protected>: "[PHP-DEV] Bug #11080: fopen(url) sleep before running"
- Next in thread: Mats Remman: "RE: [PHP-DEV] Bug #11079 Updated: Problem with old code to use mysql"
- Reply: Mats Remman: "RE: [PHP-DEV] Bug #11079 Updated: Problem with old code to use mysql"
- Maybe reply: derick <email protected>: "[PHP-DEV] Bug #11079 Updated: Problem with old code to use mysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

