SQL Info?

Status
Not open for further replies.
R

roach6390

Guest
Everytime I try to use PHP with the SQL databases with x10, it says access denied.

I have the host as "localhost", and all other information is correct.

Any ideas?
 
R

roach6390

Guest
I started out with Static then I upgraded to Advanced (or whatever the next step up is)
 
R

roach6390

Guest
Yes, I have added the user and the database.

It says it can't select (find?) the database, which definately exists.
 

Alejandro

Staff
Staff member
Community Support
Messages
9,436
Reaction score
1
Points
38
roach6390 said:
Yes, I have added the user and the database.

It says it can't select (find?) the database, which definately exists.

This is how the database is created:

name of db: yourcpanelusername_database
username: yourcpanelusername_username

You have to enter the db's name and username that way.
 
R

roach6390

Guest
Does it do that automaticly, and tell me that? Because I copy and pasted directly from the cPanel SQL Manager
 

Alejandro

Staff
Staff member
Community Support
Messages
9,436
Reaction score
1
Points
38
When you create the database, lets suppose it is named data1 it is created with the name of username_data1, and the same goes with the user.

Edit: one more thing, you have to link the user with the database.
 
Last edited:
Status
Not open for further replies.
Top