I've seen a few forums on this topic but none that resolved my problem. Basically, I'm trying to access my sql server database from a php page. I tried:
<<
$con=mysqli_connect("xo4.x10hosting.com","yourlif3_rachel","[removed by moderator]","yourlif3_members");
>>
But I'm getting "Access denied for user 'yourlif3_rachel'@'xo4.x10hosting.com' (using password: YES)"
My server name: xo4.
The database user: yourlif3_rachel
Password: [removed by moderator]
Database name: yourlif3_members
I created the database "yourlif3_members" and added the user "yourlif3_rachel" with the password "[removed by moderator]" with x10hosting.
I've never had a problem accessing my sql server from other web hosting services. So I suspect I'm missing something small -- like perhaps the sql server host name?
Any ideas?
<<
$con=mysqli_connect("xo4.x10hosting.com","yourlif3_rachel","[removed by moderator]","yourlif3_members");
>>
But I'm getting "Access denied for user 'yourlif3_rachel'@'xo4.x10hosting.com' (using password: YES)"
My server name: xo4.
The database user: yourlif3_rachel
Password: [removed by moderator]
Database name: yourlif3_members
I created the database "yourlif3_members" and added the user "yourlif3_rachel" with the password "[removed by moderator]" with x10hosting.
I've never had a problem accessing my sql server from other web hosting services. So I suspect I'm missing something small -- like perhaps the sql server host name?
Any ideas?
Last edited by a moderator: