I simply became a member of an internet dev project that utilizes Symfony 1.4 on CentOS 5.4 with MySQL. The server is lower. My first task within the project is to buy it support. I'm not sure a great deal about Symfony.
The Apache server log states
Access denied for user 'root'@'localhost' (using password: NO)
All I will tell, the database access configuration is saved in
and for whatever reason, additionally, there are some config in
There is no password for user root either in from the files, and so i thought adding it and restarting Apache would finx the problem. It doesn't, the mistake message stays exactly the same. I would be searching in the wrong config files, however i aren't able to find every other.
Any wild guesses how you can fix this ?
You're right, the database config file is saved at /WEB/project/config/databases.yml
You may also attempt to run the configure:database command in the symfony command line tool.
php symfony configure:database "mysql:host=DBHOST;dbname=DBNAME" USER PASS
A getting began guide, plus much more are available at: http://www.symfony-project.org/jobeet/1_4/Propel/en/
OK, I understand ok now what Used to do wrong: The password indeed needs to be included to databases.yml, but whenever the configuration is transformed, the symfony cache must be removed by performing
/var/www/html/<project name>/ folder.