Coding problems with Mysql error hints

Source: Internet
Author: User

Why is the coding of my error hints so strange ...
I'm not already set up as a UTF8.

Reply content:

Why is the coding of my error hints so strange ...
I'm not already set up as a UTF8.

error:1007 sqlstate:hy000 (er_db_create_exists). Message:can ' t create database '%s '; Database exists.

I guess the operating system language setting is incorrect, or the MySQL run language setting is incorrect.

The UTF8 you set is the database encoding format, not the client.

The equivalent of using a Chinese language browser to open a Japanese site, the website is encoded in Japanese, but your browser interface is Chinese.

Check the mysql-client configuration file, or the operating system locale.

  • Related Article

    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.