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 .

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: No registered users and 8 guests