Post by coololly » Wed Feb 17, 2016 8:37 am

I'm trying to set up opencart for my website, but when i fill in everything for the my sql database i get this error:
No connection could be made because the target machine actively refused it.
ive tried putting it on localhost, ive tried on when i try on (the database server) it says it cant find the database

the server hosting the php site is on

im very new to sql, i really dont understand it fully. im creating a new database in sql workbench. and filling in the info i need. How to i fix this error?



Wed Feb 17, 2016 8:34 am

Post by villagedefrance » Wed Feb 17, 2016 7:22 pm

First of all, MySQL is deprecated, so use MySQLi instead.

So you have created a new DB at your server ?
You have created a User for the DB ?
... So you then have a Hostname and a Password for it.

Tip: recommended Collation is "utf8_general_ci"

Make sure the DB is empty of tables, then run the OpenCart installer.

Select "MySQLi" and enter your DB details.

It should work.
Good luck

OpenCart custom solutions @

User avatar
Active Member


Wed Oct 13, 2010 10:35 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 57 guests