UNFAITHFUL
01-16-2009, 02:26 PM
I have a scheduled task on my site. I set it up through admincp.
When it runs I get this error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/vbbot.php on line 112
Unable to connect to mysql server.
The code on line 112 is:
$connect = mysql_connect($config['MasterServer']['servername'], $config['MasterServer']['username'] , $config['MasterServer']['password']) or die('Unable to connect to mysql server.');
I think the code on line 113 might help, The code on line 113 is:
$dbconnect = mysql_select_db($config['Database']['dbname'], $connect) or die('Unable to connect to the db');
Can someone please help me?
When it runs I get this error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in [path]/vbbot.php on line 112
Unable to connect to mysql server.
The code on line 112 is:
$connect = mysql_connect($config['MasterServer']['servername'], $config['MasterServer']['username'] , $config['MasterServer']['password']) or die('Unable to connect to mysql server.');
I think the code on line 113 might help, The code on line 113 is:
$dbconnect = mysql_select_db($config['Database']['dbname'], $connect) or die('Unable to connect to the db');
Can someone please help me?