when i try to push into my git repo (through the file protocol, like /home/user/www/phabricator/repo/TEST) - Phabricator's commit hook throws the exception with message:
remote: [2014-02-24 12:08:17] EXCEPTION: (AphrontQueryConnectionException) Attempt to connect to root@localhost failed with error #1045: Access denied for user 'root'@'localhost' (using password: NO). at [/home/user/www/phabricator/libphutil/src/aphront/storage/connection/mysql/AphrontMySQLiDatabaseConnection.php:62]
I use root:123123@localhost in my config and web application runs well.
There is no PHABRICATOR_ENV in getSelectedEnvironmentName method (class PhabricatorEnv) and it doesn't use needed config file.