First time trying to connect to sonic mysql database via perl application. Getting this error:
db_manager.cgi: DBI connect('jond_winery.db.sonic.net','',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /home/WWW_pages/jond/sevenhawkswinery.com/db_manager.cgi line 51
Line 51 is of course the open (connect) command from perl, which I normally use on other systems but substituting the host name for the sonic database, with or without username and password, but to no avail.
Hope someone can help, thanks, jon
db_manager.cgi: DBI connect('jond_winery.db.sonic.net','',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /home/WWW_pages/jond/sevenhawkswinery.com/db_manager.cgi line 51
Line 51 is of course the open (connect) command from perl, which I normally use on other systems but substituting the host name for the sonic database, with or without username and password, but to no avail.
Hope someone can help, thanks, jon