Post by 440music » Sat Nov 13, 2021 4:41 am

I did a fresh install and then uploaded the previous files and updated the database which caused an error that gave me a database connection error
How I fixed the error:
The new database had the same user ID and different password.
store-public-directory/admin/config.php
I had to make a password change in that file to connect to the database
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'my-store-admin-database-name');
define('DB_PASSWORD', 'the -password');
define('DB_DATABASE', 'database-name');
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_');

once the database password was reset the program worked again.

Tommy TBones
Owner
440Music Entertainment Co
Chicago, IL
Indie Music Radio


User avatar
New member

Posts

Joined
Wed Jun 24, 2020 8:19 am
Location - Chicago, IL USA

Post by paulfeakins » Mon Nov 15, 2021 8:00 pm

Cool story bro.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by Xring3 » Mon Jan 03, 2022 1:11 pm

Thanks, this got me back into my admin page, but I'm still unable to bring up the store page. I'll keep on looking, but this fix solved one problem.

Dan

Newbie

Posts

Joined
Wed Dec 01, 2021 2:57 am
Who is online

Users browsing this forum: No registered users and 30 guests