mncn26 Posted September 29, 2014 Share Posted September 29, 2014 (edited) I have installed Prestashop on my web space and logged in the back office without problems few days ago. Now I cant even access the login page, I get this message : "Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'sweetarts_fr'@'10.XXX.XX.XX' (using password: YES)". help please. Edited September 29, 2014 by mncn26 (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted September 29, 2014 Share Posted September 29, 2014 check config/settings.inc.php for correct mysql db connect/use/pwd define('_DB_SERVER_', 'db_server_name'); define('_DB_NAME_', 'db_name'); define('_DB_USER_', 'db_use'); define('_DB_PASSWD_', 'db_password'); Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 29, 2014 Share Posted September 29, 2014 I have installed Prestashop on my web space and logged in the back office without problems few days ago. Now I cant even access the login page, I get this message : "Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'sweetarts_fr'@'10.XXX.XX.XX' (using password: YES)". help please. Do you have access to your database files and FTP? If you are unsure, the best thing you can do is contact your hosting provider directly for more information about this problem. Link to comment Share on other sites More sharing options...
mncn26 Posted September 29, 2014 Author Share Posted September 29, 2014 check config/settings.inc.php for correct mysql db connect/use/pwd define('_DB_SERVER_', 'db_server_name'); define('_DB_NAME_', 'db_name'); define('_DB_USER_', 'db_use'); define('_DB_PASSWD_', 'db_password'); Thank you for your answer but when I try to access config/settings.inc.php iIn get :"You don't have permission to access /prestashop/config/settings.inc.php on this server." Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 29, 2014 Share Posted September 29, 2014 Thank you for your answer but when I try to access config/settings.inc.php iIn get :"You don't have permission to access /prestashop/config/settings.inc.php on this server." Then this is definitely a server permissions issue. Contact your hosting company (if you are the owner of the account) and get this sorted. You should be able to access these files. Who is your hosting provider? Link to comment Share on other sites More sharing options...
mncn26 Posted September 29, 2014 Author Share Posted September 29, 2014 Do you have access to your database files and FTP? If you are unsure, the best thing you can do is contact your hosting provider directly for more information about this problem. Thank you for your answer, yes I do have access to db files and FTP I am trying to contact my hosting provider... I'll let you know how it goes. Link to comment Share on other sites More sharing options...
mncn26 Posted September 29, 2014 Author Share Posted September 29, 2014 Then this is definitely a server permissions issue. Contact your hosting company (if you are the owner of the account) and get this sorted. You should be able to access these files. Who is your hosting provider? Yes thank you the db server name was wrong it seems to work now. 1 Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 29, 2014 Share Posted September 29, 2014 Yes thank you the db server name was wrong it seems to work now. Great, thanks for the confirmation. I'm happy I could help. I'll go ahead and mark this as solved. Cheers! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now