I am trying to migrate a SQL-Server database to MYSQL. I am getting the error
"Incorrect string value: '\xF0\x9F\x98\x8B\xF0\x9F...'"
I am using the batch file created by MySQL Workbench 8.0 CE to see the error because the UI crashes and freezes.
The source table is in Latin1_General_CI_AS
The destination table has been created as utf8mb4_0900_ai_ci
Source database: Mssql@DRIVER=ODBC Driver 17 for SQL Server;SERVER=localhost\SQLEXPRESS (Microsoft SQL Server)
Target database: Mysql@localhost:3306
Is there anything else I can try?
nvarcharandncharcolumns. You can simply type the text you want. What does the script look like and where did that string come from?unnecessary, SO itself is an ASP.NET application that saves text innvarcharcolumns. The pages are served using UTF8 encoding. No special code is needed to allow any poster to post non US-ASCII characters likeαυτό εδώor ²³£§¶¤¦°±. You could export the Unicode text to a UTF8 file easily in SQL Server and load it into MySQL. You could use SQL Server's SSIS to move the data directly from one database to the other. There's no reason to use escape sequences