matthias.rms Posted September 16, 2018 Share Posted September 16, 2018 Hello, I'd like to install prestashop using a remote mysql database, hosted by Amazon AWS RDS. I'm at the 5th step of the install assistant, where I need to add the database credentials. I've filled all the inputs, but I still get an error saying the credentials aren't right: Impossible to connect to the database server. Check your login credentials (DbPDO) Just to be sure, I tried to connect to the database using a MySQL client and using the Command Line Interface. It worked with both, so the credentials should be right. Here is what I'm writing (some letters were changed of course): address of the database server: prestadbrds.cdwmpettorfzt.us-east-1.rds.amazonaws.comName of the database: prestadbrdsUsername of the database: prestadbusername Password of the databse: XXXXXX prefix of the tables: ps_ And when I click on testing, I get the same error message. Has anyone ever managed to use an AWS RDS database with Prestashop ? Thanks for your help Matthias Link to comment Share on other sites More sharing options...
Rhobur Posted September 28, 2018 Share Posted September 28, 2018 Did you allow remote access to your database? Is the default mysql port (3306) opened in the inbound rules on your ec2 dashboard? 2 Link to comment Share on other sites More sharing options...
Juan Felipe Posted April 25, 2020 Share Posted April 25, 2020 Hello, Has anyone already solved this problem? I have an EC2 instance where I have several projects, among them a prestashop 1.7 All projects are connected to the same database on Amazon AWS RDS, but the prestashop project does not connect. It generates the following error: [PrestaShopException] Link to database cannot be established: SQLSTATE [HY000] [2002] Connection refused at line 128 in file classes/db/DbPDO.php Translated with www.DeepL.com/Translator (free version) Link to comment Share on other sites More sharing options...
alk Posted May 21, 2022 Share Posted May 21, 2022 i believe we have the same refused to connect please see if it the same 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