Forum: Ruby on Rails change development database

Posted by Nehemiah Dacres (Guest)
on 2012-12-13 10:00
(Received via mailing list)
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?
Posted by Jim ruther Nill (jimboker)
on 2012-12-13 10:35
(Received via mailing list)
On Thu, Dec 13, 2012 at 12:01 AM, Nehemiah Dacres 
<vivacarlie@gmail.com>wrote:

> 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?

>
>



--
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.