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
This article shares the specific code of the appl...
This article shares the specific code of Vue intr...
PHP related paths in Ubuntu environment PHP path ...
trigger: Trigger usage scenarios and correspondin...
In the past few days, I have studied how to run s...
1. useState: Let functional components have state...
The implementation principle of chain programming...
Xrdp is an open source implementation of Microsof...
1. Introduction Why do we need indexes? In genera...
The effect is as follows: The code is as follows ...
This article shares the specific code of jQuery t...
Prerequisites for installing MySQL: Install CentO...
Rendering If you want to achieve the effect shown...
Table of contents Function Introduction function ...
When using CSS pseudo-elements to control element...