PHP with MySQL Support not working : mysql.sock
im having some problems to get mysql working with php..
im running fedora core6 (without gui)
ive installed httpd, php, php-mysql (to support mysql under PHP)
ive installed it with yum:
yum install httpd
yum install php
yum install php-mysql
The MySQL server is installed on a remote host.
when im trying to connect to the database server with a php script it says: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
if im searching with google the only answere i get is install mysql server :S but i dont want that..
someone had the same problem and knows the answere? please help!..