/
[console] Allow quick connect to database

[console] Allow quick connect to database

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