Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'shaneiad_shaneia'@'74.86.116.190' (using password: YES) in /home/shaneiad/public_html/index.php on line 3
Could not connect: Access denied for user 'shaneiad_shaneia'@'74.86.116.190' (using password: YES)
This is the error for some reason i can't access the database i have already created and added a specific user to. Below is the php iam using to try connect but still doesn't work. Can someone please help?
<?php
$con = mysql_connect("http://shaneiadt.x10Hosting.com:2082","shaneiad_<db_username_here>","shaneiad_<db_user_pwd here>");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("shaneiad_test", $con);
//close connection
mysql_close($con);
?>
The DB test i have created with phpMyAdmin, but im not trying to execute any queries on it all iam doing is trying to connect to the thing first. Any help would be great thanks!
I have also tried the following connection string:
mysql_connect("http://shaneiadt.x10Hosting.com:2082","shaneiad_<db_username_here>","<cPanel_password_here>_<db_user_pwd here>");
Could not connect: Access denied for user 'shaneiad_shaneia'@'74.86.116.190' (using password: YES)
This is the error for some reason i can't access the database i have already created and added a specific user to. Below is the php iam using to try connect but still doesn't work. Can someone please help?
<?php
$con = mysql_connect("http://shaneiadt.x10Hosting.com:2082","shaneiad_<db_username_here>","shaneiad_<db_user_pwd here>");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("shaneiad_test", $con);
//close connection
mysql_close($con);
?>
The DB test i have created with phpMyAdmin, but im not trying to execute any queries on it all iam doing is trying to connect to the thing first. Any help would be great thanks!
I have also tried the following connection string:
mysql_connect("http://shaneiadt.x10Hosting.com:2082","shaneiad_<db_username_here>","<cPanel_password_here>_<db_user_pwd here>");