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
Preface This article mainly introduces the releva...
Written in front Environment: MySQL 5.7+, MySQL d...
Table of contents Configuration command steps in ...
1. Download 1. Download the installation package ...
The database installation tutorial of MySQL-8.0.2...
I've been learning about stacking contexts re...
Today, let's talk about how to use js to achi...
Table of contents How to install and configure To...
Anchor tag usage: Linking to a specific location i...
Some friends, when learning about databases, acci...
/**************************** * System call******...
This article example shares the specific code of ...
Table of contents Find the problem 1. How to remo...
Copy code The code is as follows: <html> &l...
Recently, students from the User Experience Team o...