i just compiled MySQL 5.1 on SunOS 5.11 (i think xD) and now i have some problems. I am able to start the server via
./bin/mysqld_safe &
and i can run the mysql* tool in /bin via Putty, however i am not able to connect to the server via PHP. Currently i am getting the following error
Can't connect to local MySQL server through socket '/tmp/mysql.sock'
using the simple command
mysql_connect("localhost", "root", "password") or die("n00b!");
Please keep in mind, i am logged in on a system without administrative priviledges and therefore i can not edit too much system files...
Can you please help me, find out how to reconfigure the server so that it can be used via local php scripts and phpMyAdmin?
Greetings!