simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.17k stars 223 forks source link

host in the initial setup run #93

Closed casperin closed 8 years ago

casperin commented 8 years ago

When running the initial setup you can't specify a host (it just assumes localhost). Although it is easy enough to create your own config.js (where host can be specified), it is quite unfortunate as settings.json won't be created for you.

For anyone with the same problem who reads this, I got around this by basically mapping localhost to whichever ip I needed in /etc/hosts while running the setup.

Also the setup does not work well if you have no password set for your db.

flyingsky commented 8 years ago

After you failed to setup, you can manually change the config.json, then you can start it.

casperin commented 8 years ago

We did solve it in the end, and as far as I know (I am not on that project any more) we're still using the module happily. 👍 I'll close the issue so you can get on with your day. Thanks for your work!