mysql5.5 database migration operation under Linux

Source: Internet
Author: User
Tags mysql version import database

Background:

MySQL migrated from the window platform to the Linux environment of the various problems, this version is 5.5, remember that the MySQL version should be consistent when the database is migrated. 1, MySQL on the window is not case-sensitive 1) whereis MySQL 2) cd/usr/share/mysql ls-all 3) copy a. c NF file to/etc/and renamed MY.CNF, and add the following under My.cnf file [mysqld] Character_set_server=utf8 init_connect= ' Set NAMES UTF8 ' l Ower_case_table_names = 1 4) Restart database, import database backup file

mysql5.5 database migration operation under Linux

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.