Post by mattyg » Mon May 04, 2020 11:12 pm

Hi all.

I am new to opencart . I am trying ot install opencart 3.0.2.0 on an EC2 Amazon Linux 2 server with a mysql RDS adatbase.

Basically everything looks fine however when I try to complete the database configuration I get the following error

Code: Select all

Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'SOMEUSER'@'DBHOSTAME' (using password: YES) in /var/www/html/system/library/db/mysqli.php on line 7Warning
In the above WARNING the DBHOSTAME actually resolves to the host EC2 instances IP and not the IP of the database .

Its resolvable via nslookup and I can contact the port using nc so no issues there.

ANy suggestions would be welcome.

Many thanks
Last edited by straightlight on Mon May 04, 2020 11:15 pm, edited 1 time in total.
Reason: Added code tags.

Newbie

Posts

Joined
Mon May 04, 2020 10:08 pm

Post by straightlight » Mon May 04, 2020 11:32 pm

Warning: mysqli::__construct(): (HY000/1045): Access denied for user
See this post: viewtopic.php?f=181&t=182436&p=668084#p668176 .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by webocreation.com » Fri Dec 18, 2020 12:47 pm

If you are looking to install Opencart in AWS then it will be easy if you use AWS Lightsail with LAMP stack, as it provides all the necessary technology to run the Opencart successfully.
Opencart hosting in AWS

Blog free tips and tricks
Free extensions
OpenCart Tutorials
OpenCart Tutorials Youtube Video for developers


User avatar
New member

Posts

Joined
Fri Feb 02, 2018 11:51 pm
Who is online

Users browsing this forum: belowcost, imager and 349 guests