Post by remnant » Sun Aug 02, 2020 5:03 pm

Hello again

I just recently move my website from localhost to a server. Everything works but I couldn't get into admin login. it says DB error.
Here's the full error
Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'u1069565_admin_apotekk24handil '@'localhost' (using password: YES) in /home/u1069565/public_html/system/library/db/mysqli.php on line 7Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/u1069565/public_html/system/library/db/mysqli.php on line 10Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home/u1069565/public_html/system/library/db/mysqli.php on line 10
I've already changed config.php and admin/config.php and I like to believe I've also input the correct username and password for the database

what should I do?

Attachments

config.png

config.png (6.02 KiB) Viewed 699 times


Newbie

Posts

Joined
Sat Jun 27, 2020 1:27 pm

Post by xxvirusxx » Sun Aug 02, 2020 5:07 pm

Change user db password...or insert that password from config...

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by remnant » Sun Aug 02, 2020 5:25 pm

how to delete this topic? I'm such an idiot, should've check twice. the db_username has 'space' in it so it cause error. All good gentlemen

Newbie

Posts

Joined
Sat Jun 27, 2020 1:27 pm

Post by khnaz35 » Sun Aug 02, 2020 7:56 pm

remnant wrote:
Sun Aug 02, 2020 5:25 pm
how to delete this topic? I'm such an idiot, should've check twice. the db_username has 'space' in it so it cause error. All good gentlemen
Its ok Remnat, things happen , just add the word [solved] in beginning of your topic.

Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 522 guests