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 vue+swip...
conda update conda pip install tf-nightly-gpu-2.0...
If an index contains (or covers) the values of ...
This article shares the installation and configur...
In Vue, we generally have front-end and back-end ...
The effect to be achieved is: fixed zoom in twice...
This article shares the specific code of Vue intr...
Table of contents Preface 1. Why do cross-domain ...
The specific code is as follows: <a href="...
Docker Compose is a Docker tool for defining and ...
Table of contents Forward Proxy nginx reverse pro...
Because frameset and body are on the same level, y...
Log in to your account export DOCKER_REGISTRY=reg...
Preface: Lynis is a security audit and hardening ...
Table of contents 1. Source code 1.1 Monorepo 1.2...