fin db
Manage databases (fin help db)
Subcommands
Name | Description |
---|---|
import | Truncate the database and import from SQL dump file or stdin |
dump | Dump a database into an SQL dump file or stdout |
list, ls | Show list of existing databases |
cli | Open command line interface to the DB server (and execute query if provided) |
create | Create a database |
drop | Delete a database |
truncate | Truncate a database (defaults to the `default`) |
Options
Name | Description |
---|---|
--db <database> |
|
--db-user <user> |
|
--db-password <password> |
|
--db-charset <charset> |
|
--db-collation <collation> |
|