Could not connect t...
 
Notifications
Clear all

Could not connect to database

3 Posts
2 Users
1 Reactions
1,036 Views
 TalK
(@talk)
Posts: 2
New Member
Topic starter
 

I've made a test database, created user with pass for that database, gave the user all permissions, filled the config.php,

going to "http://...combu/admin/"   

Could not connect to database: SQLSTATE[HY000] [1045] Access denied for user 'kordcom_datauser'@'localhost' (using password: YES)

 

please help 🙂

 
Posted : 02/02/2018 11:07 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Either the user kordcom_datauser is wrong, or the password you've set in config.php is wrong (for example if your password contains a double quote then you must escape it like "This"Is"Valid" and not "This"Is"Valid", or also single-quote it like 'This"Is"Valid'), or the server is not localhost, or the database name in config.php is wrong, or the hostmask localhost is not defined for the user kordcom_datauser, or anything like that.

If you search that error on Google you'll see everything is related to the user/password/hostmask (or permissions), basically MySql doesn't find a mach for 'kordcom_datauser'@'localhost' with the password you're passing to access the database you've set in config.php.

We could schedule a text chat on Skype and see together on your phpMyAdmin or whatever application are you using to setup MySql, in case just drop me your Skype ID in a PM.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 03/02/2018 8:30 pm
Romenics reacted
 TalK
(@talk)
Posts: 2
New Member
Topic starter
 

Thank you for the fast reply!

In the end it was my hosting provider problem.. I did logged in and everything works fine now, thank you! 

 
Posted : 03/02/2018 9:36 pm
Share: