fin db

Manage databases (fin help db)

Subcommands

NameDescription
importTruncate the database and import from SQL dump file or stdin
dumpDump a database into an SQL dump file or stdout
list, lsShow list of existing databases
cliOpen command line interface to the DB server (and execute query if provided)
createCreate a database
dropDelete a database
truncateTruncate a database (defaults to the `default`)

Options

NameDescription
--db <database>
  • Requires equal sign 🔁
--db-user <user>
  • Requires equal sign 🔁
--db-password <password>
  • Requires equal sign 🔁
--db-charset <charset>
  • Requires equal sign 🔁
--db-collation <collation>
  • Requires equal sign 🔁