User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2
I tried the code you proposed
// Define the information to access the mysql server
$mysql_access = array(
'host' => "localhost", // can be in form of
host:port.
'socket' => ":/var/mysql/mysql.sock", // path to mysql socket
'username' => "mysql_username", // username for mysql
access.
'password' => "mysql_password", // password for mysql
access.
'connection' => "socket", // connection type to use.
(use socket for local)
); // DO NOT CHANGE THIS!!!
// Establish a connection to the server
$connection = mysql_connect($mysql_access[$mysql_access
['connection']],$mysql_access['username'] ,$mysql_access['password']);
but it still doesn't work. The error is still "Can't connect to local
MySQL server through socket '/var/mysql/mysql.sock' (2)".
I heard of MySQL Manager.app, could it help me? The problem is that I
cannot find it on my disk (Mac OS X 10.4.10)...
Thank you again,
livio.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden