Post by benarg » Sun Apr 12, 2015 12:56 am

Hi everyone,

I only started using Opencart about 4 days ago but now for some reason it won't let me load the admin log in page and instead returns a bunch of errors. The errors read out as follows:

Code: Select all

Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'bucksfms'@'localhost' (using password: YES) in /home/bucksfms/public_html/microchancomputers.co.uk/upload/system/library/db/mysqli.php on line 7

Notice: Error: Could not make a database link (1045) Access denied for user 'bucksfms'@'localhost' (using password: YES) in /home/bucksfms/public_html/microchancomputers.co.uk/upload/system/library/db/mysqli.php on line 10

Warning: mysqli::close(): Couldn't fetch mysqli in /home/bucksfms/public_html/microchancomputers.co.uk/upload/system/library/db/mysqli.php on line 58
Any help would be appreciated! Many thanks, Ben.
Last edited by straightlight on Wed Feb 26, 2020 1:59 am, edited 1 time in total.
Reason: Added code tags.

Newbie

Posts

Joined
Sun Apr 12, 2015 12:51 am

Post by viethemes » Sun Apr 12, 2015 11:54 am

You can try to edit file config.php and admin/config.php,
find

Code: Select all

define('DB_DRIVER', 'mysqli');
and replace with

Code: Select all

define('DB_DRIVER', 'mysql');

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by benarg » Sun Apr 12, 2015 9:27 pm

Thanks for the advice. I found out the issue was caused by a change in the username within my PHP database.

Newbie

Posts

Joined
Sun Apr 12, 2015 12:51 am

Post by Xtreem_X » Tue Apr 12, 2016 3:13 am

Hello benarg. I have the same 3 errors. Can you tell me how you solved? Thank you.

Newbie

Posts

Joined
Tue Apr 12, 2016 3:10 am

Post by mattys » Mon Apr 25, 2016 9:00 pm

Hi

I had same problem with a test copy of live site (in /dev/), when i updated the mysql username it fixed it, dont know why though...

New member

Posts

Joined
Thu Apr 26, 2012 4:51 pm
Who is online

Users browsing this forum: No registered users and 12 guests