This article is a mirror article of machine translation, please click here to jump to the original article.

View: 25000|Reply: 1

[Source] Incorrect string value: '\xE6...' for column 'Name' at row 1

[Copy link]
Posted on 5/18/2018 2:44:35 PM | | | |
Spring.Data.UncategorizedAdoException: Hibernate flusing: could not insert: [XXX.Organization#7][SQL: INSERT INTO `Organization` (Version, Enabled, Name, TheValue, LevelCode, ParentId, Position, Id) VALUES (?, ?, ?, ?, ?, ?, ?, ?)]; uncategorized DataException for SQL []; ErrorCode [1366]; Incorrect string value: '\xE6...' for column 'Name' at row 1 ---> MySql.Data.MySqlClient.MySqlException: Incorrect string value: '\xE6...' for column 'Name' at row 1
   
The error is as above, the solution:



Change the encoding of the table, the sql code is as follows:






The change field encoding is as follows:

The modified version is as follows:






Previous:.net/c# Alibaba Cloud SMS Mass Sending [Source Code]
Next:Discuz sitemaps are automatically generated
 Landlord| Posted on 5/18/2018 2:52:56 PM |
The database connection string is configured to encode


Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com