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 127.0.0.1. when i try on 192.168.1.126 (the database server) it says it cant find the database

the server hosting the php site is on 192.168.1.125

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?

Live Women


Newbie

Posts

Joined
Wed Feb 17, 2016 8:34 am
Location - Usa

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 @ https://villagedefrance.net


User avatar
Active Member

Posts

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

Users browsing this forum: No registered users and 75 guests