We had a master, slave setup. Since running reports on master affect our production performance, we pointed mydbr to slave and added many reports. Master still had mydbr DB, which was not getting updated, but, mydbr DB on slave was getting updated. Our App DB on slave got corrupted and we were getting 'Got error -1' on mydbr link too. So, we restored master snapshot on slave and our production DB is fine now.
1. Restored mydbr backup from slave (mysqldump without routines). MyDBR connected to DB, but giving error 'procedures missing'
2. Renamed proc.MYD and proc.MYI files and copied the files from the earlier DB volume. I could see all missing procedures.But, myDBR gives 'Databse error, contact admin'
3. Dropped mydbr DB, mounted previous slave volume on another mysql server, took mysqldump of mydbr with routines and restored on the current slave. Still myDBR gives 'Databse error, contact admin'
Mydbr works fine if I point it to the previous slave volume mounted on the new server.But, I need it on the current slave, where my production DB is running fine.
Please help.