Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of setting the default coding format of data Table by mysql

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the method of setting the default coding format of the data table by mysql, which is very detailed and has a certain reference value. Interested friends must read it!

Mysql sets the default encoding format of the data table: 1, open the my.ini configuration file; 2, add configuration [default-character-set=utf8]; 3, restart the mysql service.

Locate the installation directory of mysql

(recommended tutorial: mysql video tutorial)

There is a my-default.ini in the directory. Here, I modify it to my.ini. Open the configuration and add the following:

What is added:

Character-set-server=utf8 [client] default-character-set=utf8

Then restart the Mysql service.

The above is all the contents of mysql's method of setting the default encoding format of the datasheet. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

  • SpringBoot (11): integrated Mybatis

    First, add dependencies

    © 2024 shulou.com SLNews company. All rights reserved.

    12
    Report