my life

day to day

PropelException: Access denied

November 6th, 2007

Array ( [phptype] => mysql [hostspec] => localhost [database] => mydbdev [username] => myuser [password] => INF [port] => [encoding] => [persistent] => [protocol] => )

Notice my infinitely strong password? It’s so strong that you can’t even login. The solution to my problem was to make sure I quote my passwords in the database.yml file so that the YAML parser doesn’t interpret them as a number. In this case, I had a password like 123e4567. In otherwords, a VERY big number (123 followed by 4568 zeros)

add to del.icio.us    add to technorati favs    email this

Leave a Reply