sql host name

Status
Not open for further replies.

meee_me

New Member
Messages
2
Reaction score
0
Points
0
Hi there all,
if my houst is meee so what is mysql name i tryed this but it dose not work

$host = 'meee.x10hosting.com' ;


i got the following message
Access denied for user 'root_me'@'74.86.133.216' (using password: YES)
 

eminemix

Member
Messages
350
Reaction score
0
Points
16
The host is 'localhost'
So, try writing :
Code:
$host = "localhost";
 

meee_me

New Member
Messages
2
Reaction score
0
Points
0
it same problem see the following
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root_me'@'localhost' (using password: YES) in /home/jaber/public_html/config.php on line 10
Could not connect to mysql because Access denied for user 'root_me'@'localhost' (using password: YES)
 

eminemix

Member
Messages
350
Reaction score
0
Points
16
it same problem see the following
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root_me'@'localhost' (using password: YES) in /home/jaber/public_html/config.php on line 10
Could not connect to mysql because Access denied for user 'root_me'@'localhost' (using password: YES)

You can try loggint to your cpanel ( www.yoursite/cpanel ), and then go to "mysql databases" and make sure you have that database created, and the password is correct :)
 
Last edited:

spacemer

New Member
Messages
1
Reaction score
0
Points
0
I am a bit of a noob but I had the same error and I managed to get it working. I just changed my server to 'localhost'. I thought this wouldn't work because that would mean that the database would look on my local server to get the data. I forgot that the PHP code would be generated locally RELATIVE to the MySQL database. To anyone else struggling with this: Ensure than you prefix the name of the account to your username and databases also. Example:- 'hostname_databasename' and 'hostname_mysqlusername'.

Hope this helps.
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
I'm closing this thread. If you still need support please re-open it or create a new one.
 
Status
Not open for further replies.
Top