Database will not accept connection

Status
Not open for further replies.

archprime

New Member
Prime Account
Messages
39
Reaction score
0
Points
0
Hi - I set up a database and user in Cpanel, but my PhPGedView website script reports that the database is refusing connection though I am using using the correct credentials as shown in your knowledgebase article on databases.

I get error
SQLSTATE[42000] [1044] Access denied for user 'archprim_king'@'boru.x10hosting.com' to database 'archprim_Kingfamily'

What might be going wrong?

I note that in its documentation, PHP Gedview expects all MySQL databases to include "PDO drivers" - is this the case with databases hosted by you?
 

Anna

I am just me
Staff member
Messages
11,783
Reaction score
595
Points
113
try using localhost for server host.

Also did you create the database and user through wizard or manually? If the later did you remember to add the user to the database as well?
 
Status
Not open for further replies.
Top