Use IPv4 address to connect to mysql

Fixes #412
This commit is contained in:
Girish Ramakrishnan
2017-08-31 10:55:08 -07:00
parent 6a9eac7a24
commit 57d5c2cc47
2 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ function initConfig() {
data.port = 5454;
data.apiServerOrigin = 'http://localhost:6060'; // hock doesn't support https
data.database = {
hostname: 'localhost',
hostname: '127.0.0.1',
username: 'root',
password: '',
port: 3306,