Hi all,
I have the following problem:
I can see through phpmyadmin the databases in mysql. The command line also works (mysql -u root ................. etc) but a simple perl script that I try to execute gives me the following error:
DBI connect('database=ir;host=localhost','root',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13) at test.pl line 14
I know it has to do with some configuration of the mysql.sock or mysqld.sock but the posts in the forums where not clear on how to solve this.
Any help?
Thanks in advance
Apostolos