express-admin icon indicating copy to clipboard operation
express-admin copied to clipboard

cli does not prompt for host on initializing a directory

Open tkodev opened this issue 8 years ago • 2 comments
trafficstars

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.

tkodev avatar Jun 15 '17 15:06 tkodev

@simov

vmehera123 avatar Aug 28 '17 18:08 vmehera123

@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

khasburrahman avatar Jan 12 '19 07:01 khasburrahman

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.

simov avatar Feb 17 '23 15:02 simov