change development database

I accidentally chose the wrong database name for an existing i want to use
in development. I changed the name in database.yaml but I still get the
same error
"Mysql2::Error: PROCEDURE test.NADAnnotation_All_S does not exist: call
NADAnnotation_All_S()" which is the name of a stored routine in a different
database. I ran rake db:migrate, what else do I have to do?

did you restart your server after you changed database.yml?