i am uploading with phpmayadmin my db to new server
but i am recieved this error message
"/*!40000 ALTER TABLE `ow_base_geolocation_ip_to_country` DISABLE KEYS */;"
what is the problem
i am uploading with phpmayadmin my db to new server
but i am recieved this error message
"/*!40000 ALTER TABLE `ow_base_geolocation_ip_to_country` DISABLE KEYS */;"
what is the problem
1. did you import your DB using the same export from the old DB on the old server
2. are you keeping the same domain name
when i uploaded one of my sites after a move one time i had one little error for some reason. So i opened the sql file, and cut out the section that was giving me a problem (both the structure and the data) and pasted that into another file.
then i ran the main sql again with that part out and it ran fine. Then i ran the other file by itself and it ran fine too. Sometimes doing large imports phpMyAdmin can be fussy.
great, glad to see you got it resolved..
+1 Aliia, that went right over my head and I knew that too...
I just assumed he had a problem and thought it was giving him an issue, but now that I look close he must have mistaken that for an error when its not.. oops.. ;)
Actually Aliia guess what i did have this similar thing happen to me just today... Here is why it happened and i never thought about this..
to restore a customers oxwall db was 53 MB, phpMyAdmin limit is 50mb but even cutting that down to 30MB it timed out.
So what i had to do was cut the db into 5 parts, with the last part (part 5) having just the two last watchdog tables.
after this (which is the end of the sql file) there is this part...
--
-- Dumping routines for database 'xxxxxxx_oxdatabse'
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2013-11-05 16:09:50
i did not remove this part and so i got an error that said something like
SQL ERROR
-- Dumping routines for database 'xxxxxxx_oxdatabse'
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
cannot set time zone to null
so what i think happens Aliia is that if you leave the comments in the beginning of the sql file then you have to leave then at the end, and since i did not have any at the beginning of this file becaue it was a split off. It bombed when it saw those.
So all i did was just remove all those comments at the end of this part5 and it uploaded perfectly.
Just fyi... :)
is the MySql Workbench and there is another great tool like SQLYog but this one is not free. This one is free, Heidi Sql
Or you can check this page for Top 10 Mysql Tools
Thanks.