Hi all -
I'm working on a php program for a client who claims that he is running mysql. however, when I try accessing the database, I get the following message:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /nfs..../web/test/create_table.php on line 3
phpinfo shows the following about mysql:
Active Persistent Links: 0
Active Links: 0
Client API version: 3.23.52
MYSQL_MODULE_TYPE: external
MYSQL_SOCKET: /var/lib/mysql/mysql.sock
MYSQL_INCLUDE: -I/usr/include/mysql
MYSQL_LIBS: -L/usr/lib/mysql -lmysqlclient
does the active links line mean that the database is not set up?
If anyone can help, I will greatly appreciate it. THANKS!