simov / express-admin

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

cli does not prompt for host on initializing a directory #129

Closed tkodev closed 1 year ago

tkodev commented 7 years ago

When running admin ./sample, prompts do not ask you for a hostname. If you don't have a database running on your computer, the cli will then throw an error after the prompts.

vmehera123 commented 7 years ago

@simov

khasburrahman commented 5 years ago

@htkoca so how did you connect to the database? I too can't connect to my local database even though I set the user & password correctly, perhaps I should set the hostname in server config.json to http://localhost but doesn't work

simov commented 1 year ago

Hi, in v2 of the admin there is no longer a CLI and instead you just have to setup your config.json file manually. All connection options are supported for your database driver. Also have a look at the changelog for any potential breaking changes.