MySQL database restore: The path must use a forward slash?

Source: Internet
Author: User
Tags mysql commands

is also the operation of the industry is not fine, in fact, before the command line to restore a few times the MySQL database, but always remember the grammar. No, today I want to restore the database backed up on another computer, and the result is not constant error, as shown in:

Later found that because the lazy direct copy of the path name, with all the anti-slash, so the total error. Change to a forward slash is fine:

Mysql-u derek-p DiC < D:/360yunpan/derek/mysql/20161023_pers_nam_deleted.sql

A few times before, the backup time forgot to write the database name, the result is not prompted to enter the password, back up the. sql file is only 1KB. Various MySQL commands are not clear, it seems that the practice is not enough ah!

MySQL database restore: The path must use a forward slash?

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.