Hello,
I am very new to Perl so this might be a very simple but I can't find the solution to it. I am trying to write a simple script that connects to a MySql DB and updates it with information from a form. My problem arises when I try and make the connection. I get the message:
Can't connect to MySql server through local socket '/var/lib/mysql/mysql.sock'.
I think this means that it can't find this file. I know where this file is located and it is not there. Is there anyway to explicity tell DBI where to look for this file.
Any help or code examples would be greatly appreciative.
When explaining please keep in mind that I am very new to Perl.
Thanks,
D
I am very new to Perl so this might be a very simple but I can't find the solution to it. I am trying to write a simple script that connects to a MySql DB and updates it with information from a form. My problem arises when I try and make the connection. I get the message:
Can't connect to MySql server through local socket '/var/lib/mysql/mysql.sock'.
I think this means that it can't find this file. I know where this file is located and it is not there. Is there anyway to explicity tell DBI where to look for this file.
Any help or code examples would be greatly appreciative.
When explaining please keep in mind that I am very new to Perl.
Thanks,
D