MySQL Import Database and database import

Source: Internet
Author: User
Tags file size file upload mysql tutorial php tutorial import database mysql import mysql import database phpmyadmin

MySQL Tutorial Import Database tutorial and database import
/*
The current free backup tools supported by MySQL are:

Mysqldump, Mysqlhotcopy

, you can also use SQL syntax for backups:

Backup table

Or

SELECT INTO outfile

, or Backup

Binary log (Binlog)

Now for the small amount of data, you can directly use the PHP tutorial myadmin to complete the OK,
Let's talk about how phpMyAdmin imports data.

First, to carry out your phpMyAdmin, find the Import button, here will see a File upload box text file location (maximum limit: 2 MB) Click Upload your imported file OK.
Attachment: You will see (Maximum limit: 2 MB), let's see how to modify its size.
First, find php.ini Open, check to Post_max_size, upload_max_filesize settings you want to upload file size OK, back to Apache.

The second way to import large data is to use the command method.

MySQL Large data import

The first step: Mysql-h localhost-uroot

Log on to the database

Step two: show databases;

Print a database

Step three: Use Changchunmap;

Go to the appropriate database

SOURCE F:www.111cn.netdbname.sql

Import Database

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.