MySQL in LinuxSHELL

Source: Internet
Author: User
Tags mysql free toad for mysql
Although few users use the MySQL client in Linux to maintain data, there are now more MySQL client management software, and toadformysqlfr is well known.

Although few users use the MySQL client in Linux to maintain data, there are now more MySQL client management software. toad for mysql fr is well known.

Although few users use the MySQL client in Linux to maintain data, there are now more MySQL client management software, and toad for mysql free is a well-known one. however, users like me who are used to using sqlplus to manage Oracle in UNIX still feel slow.

A problem occurs recently when I use MySQL in Linux to import Chinese data. It is normal in shell, but it is garbled after connecting with php. MySQL in UUbuntu is not associated with utf8 by default.

This sentence is added only in the [client] section of my. cnf:

[Client]

Port = 3306

Socket = mysql

Default-character-set = utf8

In this way, you do not need to add the parameter -- default-character-set = utf8 after the mysql command line.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.