When Mysql associates two tables, an error message is generated: Illegal mix of collations 1. First use the tool to change the encoding method of the database and two tables 2. This step is very important and requires changing the encoding method of the field. ALTER TABLE `table name` CHANGE `dev_chancode` `field` VARCHAR(32) CHARACTER SET gbk NOT NULL; Summary: When creating a table, you must pay attention to the unified encoding method, otherwise it will be very troublesome to deal with it later. How to solve the MySQL table encoding conversion problem
The above is all the knowledge points introduced this time. Thank you for your learning and support for 123WORDPRESS.COM. You may also be interested in:
|
<<: Install JDK8 in rpm mode on CentOS7
>>: Summary of three rules for React state management
Comments and messages were originally a great way...
First download the dependencies yarn add sass-loa...
How to implement text icons through CSS /*icon st...
Data integrity is divided into: entity integrity,...
Scrcpy Installation snap install scrcpy adb servi...
When using element-ui, there is a commonly used c...
<br />What is web2.0? Web2.0 includes those ...
Table of contents for loop While Loop do-while lo...
Detailed explanation of the misplacement of the in...
Today I want to summarize several very useful HTML...
Table of contents 1:mysql execution process 1.1: ...
Table of contents 1. The difference between trans...
Preface Recently, part of the company's busin...
Because the router at home forced to reduce the b...
As a tester, you may often need to install some s...