Hello, i'm having some problems getting access to my MySQL database on Linux Redhat 9.
I downloaded and compiled/installed all 3 of the latest versions of Apache, PHP, and MySQL, and got them to all start up when linux starts, and this all works ok.
I tried making a phpinfo.php and it works great, i also tried running /usr/local/mysql/bin/.mysql
This works ok, i can go in and i get the mysql prompt so i can issue commands and everything, works great.
But my problem is when i try to access the mysql database from a PHP file. I get the following error message:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I've searched at the forums and played around with a few things, some of the ./configure parameters for PHP and for apache, but no luck.
I'm still fairly new to linux. If anyone has any suggestions it would be greatly appreciated. Thank you