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 https://github.com/phacility/phabricator/commit/1ecfa0313c483a019ed34e90e840b1231d29a357 commit of Phabricator for such wonderful idea.

Related Tasks