Db_dump lock tables error
So i just switched over from akka's repack to my own compiled code and now i find that both Akka's updater and DB_dump are giving errors due to lock tables....
mysqldump: Got error:1449: The user specified as a definer ('root'@'::1') does not exist when using LOCK TABLES and when i remove LOCK TABLES privilage i get mysqldump: Got Error: 1044: Access denied for user 'root'@'localhost' to database 'peq' when using LOCK TABLES I have no idea what happened in my process to switch things over but it went from working to not working.... i have done some reading and checked to make sure that my path is set to my mysql bin folder and such but still cant figure this out... Thanks for your help The Crucialone |
Sorry to bother yall but finally found the issue it was my
vwmercnpctypes table for some reason it had locked itself even tho it has nothing in the table..... |
mysqldump is trying to lock tables and is failing due to an authentication issue of some sort. Try appending
Code:
--lock-tables=false Another reason is if a script or task tries to lock a table and doesn't unlock it, it'll get stuck, you can manually unlock it if you know the table, or if lazy do a a mysql reboot to fix it. If skipping the locking of tables does not repair things, some times if a db gets corrupted and needs to be repaired you can get odd lock messages, too, so a safe restart of the mysql instance and watching the logs could give signs of other symptoms not obvious. (You should be watching logs anyways to learn about the health of your DB) |
All times are GMT -4. The time now is 12:46 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.