Greetings, I am using MySQL 5.1 and my ibdata file got too big, so I moved it from /var/lib/mysql to /data/mysql. I shut down mysql, then changed /etc/my.cnf and /etc/init.d/mysqld to reflect the dir change, then restarted mysql. I was able to connect to the database through the mysql client, but my perl cgi web pages return this error -
DBI connect('SPIT:localhost:3306','spit',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Thoughts ???
In reply to DBI module not using new mysql.sock by rbholder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |