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
This article shares the specific code for the js ...
Recently I've been working on a framework tha...
My97DatePicker is a very flexible and easy-to-use...
Written in front I don’t know who first discovere...
Trigger Introduction A trigger is a special store...
MySQL official website zip file download link htt...
Author | Editor Awen | Produced by Tu Min | CSDN ...
1. Use curl command to access by default: # curl ...
Table of contents defineComponent overload functi...
Generally speaking, we can have the following two...
I recently reviewed some CSS-related knowledge po...
1. Download MySQL Workbench Workbench is a graphi...
Table of contents From father to son: Son to Fath...
The future of CSS is so exciting: on the one hand,...
In the MySQL database, after tables are associate...