MySQL entry-level learning records

Source: Internet
Author: User
Tags import database heidisql

1. MySQL version: MySql-5.1.42

2. Client: Heidisql (Official Website: http://www.heidisql.com /)

3. Install MySQL: MySQL installation graphic tutorial (http://hi.baidu.com/herdff/blog/item/6e6b4bcf6132f90b93457e14.html)

4. manually modify the configuration file:Modify the my. ini configuration file in the installation directory as needed

5. Basic MySQL operation commands

4.1 connect to the database:

Command server user database
Mysql-H localhost-u root-P Test

4.2 export table:

Command server User Password Database Export File
Mysqldump-H localhost-u root-Ptest -- opt test> D: \ test. SQL

4.3 import table
Mysql> source D: \ test. SQL

4.4 Export Database

Command server User Password Database Export File
Mysqldump-H localhost-u root-Ptest -- databases test> D: \ db1. SQL

4.5 import database

Command server user password
Mysql-H localhost-u root-Ptest <D: \ db1. SQL

6. Mysql Data Type Details: Http://blog.csdn.net/jiemushe1814/article/details/4716069

7. Summary: The power of MySQL lies in its flexible configuration. I used to use Microsoft products and suddenly found that MySQL could change the database settings by simply modifying the configuration file ~

MySQL has the following advantages over SQL:

Quick installation. After installation, the file is concise and there are no various binding software like MSSQL;

Clear configuration, flexible and powerful;

The client heidisql is very powerful and useful.



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.