Child pages
  • [console] Allow quick connect to database
Skip to end of metadata
Go to start of metadata

The idea is to create "db:console" command, that will take database configuration details from /system/config.php and run mysql --username %username --passsword %password %database command using passthrough function.

This way there is no need to create ~/.my.cnf file to allow easy DB connection.

 All attribution goes to author of commit of Phabricator for such wonderful idea.

Related Tasks