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
Let me share with you a creative opening realized...
1. Effect display An astronaut watch face written...
1. Priority of multiple servers For example, if e...
Table of contents 1. Current limiting algorithm 2...
Click here to return to the 123WORDPRESS.COM HTML ...
This article is based on Linux centos8 to install...
This article shares the specific code for JavaScr...
background Use idea with docker to realize the wh...
Usually the pictures uploaded by users need to be...
Table of contents Preface Enumerable properties I...
The replace statement is generally similar to ins...
This article shares the installation and configur...
After configuring VIP, the error message that app...
Downloaded the unzipped version of mysql-5.6.37-w...
Many web pages have small triangles in their navi...