christiaan opened a new issue, #30642:
URL: https://github.com/apache/superset/issues/30642

   ### Bug description
   
   I have a development deployment of superset which I want to bring into 
production.
   
   When importing the Mysql dump I made of the mysql database we use for 
superset and I try to import that dump I get the following error.
   
   > INSERT INTO `embedded_dashboards` .....
   > ERROR 1105 (HY000) at line 1709: Percona-XtraDB-Cluster prohibits use of 
DML command on a table (superset.embedded_dashboards) without an explicit 
primary key with pxc_strict_mode = ENFORCING or MASTER
   
   To "fix" this I've added an `id` column to the `embedded_dashboards` table.
   > ALTER TABLE embedded_dashboards ADD id INT auto_increment primary key
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   4.0.2
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to