I created a database in x10Hosting Basic named bebop4ji_CMPSCI192DB with an authorized user name bebop4ji_COCuser. When I use the following PHP code:
$sqldb_server_name = "bebop4jim.x10host.com";
$userid = "bebop4ji_COCuser";
$password = "****";
$sqldb = 0;
$sqldb = mysql_connect( $sqldb_server_name, $userid, $password );
I get the error message "Access denied for user 'bebop4ji_COCuser'@'xo4.x10hosting.com' (using password: YES)"
I also substituted "xo4.x10hosting.com" for the $sqldb_server_name and I receive the same error message. I checked the Database Privileges Granted and it shows ALL PRIVILEGES for the $userid above. I also executed the CHECK DATABASE process and the returned message was "Successfully checked database − No issues found."
So while I am not certain about the server name to use (help me with that), I think one of them should be correct. I've double checked the password I use and it is correct. So with the information above does anyone have an idea why access is denied?
Thanks,
Jim B.
$sqldb_server_name = "bebop4jim.x10host.com";
$userid = "bebop4ji_COCuser";
$password = "****";
$sqldb = 0;
$sqldb = mysql_connect( $sqldb_server_name, $userid, $password );
I get the error message "Access denied for user 'bebop4ji_COCuser'@'xo4.x10hosting.com' (using password: YES)"
I also substituted "xo4.x10hosting.com" for the $sqldb_server_name and I receive the same error message. I checked the Database Privileges Granted and it shows ALL PRIVILEGES for the $userid above. I also executed the CHECK DATABASE process and the returned message was "Successfully checked database − No issues found."
So while I am not certain about the server name to use (help me with that), I think one of them should be correct. I've double checked the password I use and it is correct. So with the information above does anyone have an idea why access is denied?
Thanks,
Jim B.