Friday, November 18, 2011

symfony mac xampp no database connection

if you installed xampp on mac then try to use cmd to build symfony project. you will find symfony can not connect to the database

the trick is to set host to 127.0.0.1 instead of localhost in databases.yml

No comments: