I'm getting the following error:
Warning: Access denied for user: 'admin@66.54.222.81' (Using password: YES) in /home/virtual/wakeup/home/httpd/html/order/oneorder.php on line 4
Warning: MySQL Connection Failed: Access denied for user: 'admin@66.54.222.81' (Using password: YES) in /home/virtual/wakeup/home/httpd/html/order/oneorder.php on line 4
Couldn't connect to the server.
This is the code:
$connection = mysql_connect($database,$dbuser,$dbpass) or die ("Couldn't connect to the server.");
$db = mysql_select_db($dbname,$connection) or die ("Couldn't select database.");
$data = mysql_query("SELECT countnum FROM wake_count",$connection) or die ("Couldn't execute query.");
Any ideas? Thanks in advance!