hi everyone
after trasnferring my MODX CMS from local to live server, I continually get the following error whenever trying to use Janitor
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /assets/components/janitor/common/modx.php on line 22
You are not authorized to view this page.
line 22 looks like this:
$modxConn = mysql_connect($database_server, $database_user, $database_password);
I am using Modx Revo 2.0.7-pl (just upgraded)
I’m sure this is a minor issue and could be corrected easily
Where do you suggest I should start fixing this?
Thanx in advance.