[PHP-INST] mysql-php problem on RHL7 From: Dragan Dinic (dinke <email protected>)
Date: 04/14/01

Hello,
I have installed Red Hat Linux 7 and during the instalation proces I chose
to install php4 and mysql.
After instalation I have added php-mysql support using rpm file.
Both MySQL and PHP seems to work fine (mysqld is running,mysql client work
good and php parse *.php files) but when I try to connect script with
database using mysql_connect(...), I receive following error message:
Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (111) ...
I have also tried to put complete path
(localhost:port:/var/lib/mysql/mysql.sock...) in mysql_connect( ) function
but it didn't solve the problem. When I try to edit file mysql.sock I
receive error message.
Please help me.

Dragan Dinic, Serbia

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-install-unsubscribe <email protected>
For additional commands, e-mail: php-install-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>