My real problem is with DBI::mysql
It seems to think that mysql.sock is at /tmp/mysql.sock.
It isn't. It's at /var/lib/mysql/mysql.sock. /usr/bin/mysql knows this,
/usr/bin/mysql_config knows this, and /etc/my.cnf knows this, but
/usr/local/mysql/bin/mysql still looks for /tmp/mysql.sock, as does DBI::mysql.
It's almost as if I have two versions of mysql on my machine, but I don't. Why on earth
DBI::mysql takes one above the other is anyone's guess.
-----Original Message-----
From: Jochen Wiedmann [mailto:joe@stripped]
Sent: 15 September 2003 14:03
To: michael watson (IAH-C)
Cc: 'perl@stripped'
Subject: Re: FW: Problems with mysql.sock
michael watson (IAH-C) wrote:
> I need to know how and where to tell mysql to look for mysql.sock.
perldoc DBD::mysql
You cannot change the location at compile time, because it is compiled into
the C driver. However, you may change it at run time.
Jochen