Jump to content

Install Prestashop with AWS RDS database


Recommended Posts

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.com
Name of the database: prestadbrds
Username 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

  • 2 weeks later...
  • 1 year later...

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)

screenshot (15).png

Link to comment
Share on other sites

  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...