Magento database import is best done with the command line

Source: Internet
Author: User
Tags phpmyadmin

Especially in the local debugging, often in the phpMyAdmin inside the database can not be successfully imported, no matter how small the database, and sometimes really can not import. Then try to import it using the command line method, which will generally succeed.

1. After installing the phpMyAdmin client, go through WIN's Start menu--MySQL----MySQL SERVER 5.6---MySQL 5.6 COMMAND line Client

2. After entering the password for the connection database, you will see the mysql> prompt

3. After the prompt enter Mysql-u root-p here Enter the password database name < database name to import. SQL, for example:

Mysql-u root-pxxx YYY < Zzz.sql

Is it in? XX)

Magento database import is best done with the 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.