Posted by David Haynes on 12/28/05 04:48
Michael wrote:
> David,
>
> Thank you for your help. The file /etc/my.cnf is shown below. It looks
> like the default location is correct in the sense that the file
> /var/lib/mysql/mysql.sock does exist (whether it contains the correct
> information, I cannot tell).
>
> Also, please not that I can connect to MySQL through the MySQL monitor
> by typing "mysql".
>
> Do you, or anyone else have any other suggestions? I think I'm stuck at
> this point...
>
> mysqld]
> datadir=/var/lib/mysql
> socket=/var/lib/mysql/mysql.sock
>
> [mysql.server]
> user=mysql
> basedir=/var/lib
>
> [safe_mysqld]
> err-log=/var/log/mysqld.log
> pid-file=/var/run/mysqld/mysqld.pid
>
Another question:
Are you running php standalone or via a web server?
-david-
[Back to original message]
|