Installation of MySQL on Linux with PHP
Posted: Tue Oct 11, 2005 10:00 am
Hi Folks,
I've jsut setup a brand new development box, however I'm having serious problems getting MySQL working with PHP.
The server is running FC4, with MySQL v4.1.12 and PHP v5.05 and Apache v2.0.54. I've started the mysqld service, but I'm sitll getting the error:
Can anyone suggest anything?
Cheers
Nunners
I've jsut setup a brand new development box, however I'm having serious problems getting MySQL working with PHP.
The server is running FC4, with MySQL v4.1.12 and PHP v5.05 and Apache v2.0.54. I've started the mysqld service, but I'm sitll getting the error:
I can get mysql from the actual server, via ssh terminal.Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /var/www/html/index.php on line 5
Could not connect: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
Can anyone suggest anything?
Cheers
Nunners