I want to install Opencart 3 on a Debian 10 server with LAMP. I copied all files from the upload directory to my web directory and changed the access rights according to the installation manual. I also renamed the config.php files. In mysql I created an opencart database with a specific user. To this user I granted all rights to the database. The installation screen from opencart shows up correctly. On the pre-installation page everything is green. On the configuration page I fill in the appropriate values:
DBDriver: MySQLi
Hostname: localhost
Username: my opencart user (not root)
Password: opencart users password (direct access to MySQL works fine)
Database: my opencart DB
Port and Prefix as given.
When I click on "Continue", I get an error message: Could not make a database link using xxx@localhost (xxx is my opencast user).
Any idea on this?
What version or OpenCart and what version of PHP?
You could try temporarily changing the error handling in system/library/db/mysqli.php to see what the real error is.
You could try temporarily changing the error handling in system/library/db/mysqli.php to see what the real error is.
PHP 7.4x versions should be used with OC v3.x releases. However, did you ensured from your host console that your database name is correct as opposed to both config.php files from OC?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 141 guests