Closed tkodev closed 1 year ago
@simov
@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
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.
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.