I was able to fix this issue after spending clode to 3 days, hopefully my fix works for you:
I was actually doing a reverse of you activity: recreating my crashed local box with content and data from Producton.
Here is where things got interesting: My LocalDB is Windows while Production DB is Linux. In trying to maintain the compatibility i set the mysql option lower_case_table_names = 2 (to maintain case sensitivity). With this setting i kept having the FOREIGN KEY ERROR.
I changed to lower_case_table_names = 1, restarted my MYSQL engine, recreated the whole Schema (database) and pronto! My LocalDB worked perfect!
Not sure if you havng different platform for your production and local DB as i do, that would be the first place i would check.
MySql Problem
I am trying to deploy an Umbraco site running on MySql using these steps:
Everything looks correct in the Umbraco admin. However, I get the following error when trying to publish/republish any content:
I cannot find any problems/duplicates in the data. The DB is the exact same as my working local copy.
I am having exactly the same problem. Same as above, no change in the DB everything is the same.
Please help!!!!
Thanjks.
Hi Ricky,
I was able to fix this issue after spending clode to 3 days, hopefully my fix works for you:
I was actually doing a reverse of you activity: recreating my crashed local box with content and data from Producton.
Here is where things got interesting: My LocalDB is Windows while Production DB is Linux. In trying to maintain the compatibility i set the mysql option lower_case_table_names = 2 (to maintain case sensitivity). With this setting i kept having the FOREIGN KEY ERROR.
I changed to lower_case_table_names = 1, restarted my MYSQL engine, recreated the whole Schema (database) and pronto! My LocalDB worked perfect!
Not sure if you havng different platform for your production and local DB as i do, that would be the first place i would check.
GB Oladeji.
is working on a reply...