Preface I just started learning MySQL and downloaded the latest version 5.7.14 from the official website. When I used cmd to enter Chinese, an error occurred, so I started to modify the MySQL default encoding (under Windows). Let's take a look at the detailed modification method. Here’s how First, view the MySQL character set information by The default encoding is latin1 Then close the database Find the my.ini file in the mysql installation directory Add it [client] default-character-set=utf8 Add under character-set-server=utf8 Restart mysql You can change the default encoding of the MySQL database to utf-8 Many resources on the Internet are added under default-character-set=utf8 If this change is made, the 5.7 version of MySQL will not be able to open So change it to character-set-server=utf8 Note: After the modification, all data in the database must be deleted before it can be used. Summarize The above is the full content of this article. I hope that the content of this article can bring some help to your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support of 123WORDPRESS.COM. You may also be interested in:
|
<<: Get / delete method to pass array parameters in Vue
>>: Creating Responsive Emails with Vue.js and MJML
Note: Other machines (IP) cannot connect to the M...
1 Introduction When we write SQL statements to op...
Preface In order to reflect the difference betwee...
I started learning MySQL recently. The installati...
1. Download mysql-5.7.21-windowx64.zip from the o...
The CSS counter attribute is supported by almost ...
Replication is to transfer the DDL and DML operat...
For databases that have been running for a long t...
Its function is to set a global style. Then your s...
Socket option function Function: Methods used to ...
This article shares the specific method of instal...
Preface Today, when I was using a self-written co...
In the latest HTML standard, there is a calc CSS e...
Background: Linux server file upload and download...