Minor issues when using Mysql command line tool to execute SQL scripts

Source: Internet
Author: User

When using Mysql command line tool to execute SQL scripts, the problem is that the SQL script is executed according to the syntax.

Source create. SQL (full path of the create. SQL file)

 

What I entered on my computer is
1 source f: \ download \ create. SQL;

 

However, after the input is complete, no results are executed, and no error is reported. I checked it online. Some people say "\" is the reason, and "/" is required "/", or escape "\". After I try it one by one, I find it still does not work, and a failed to open file is reported... finally, I accidentally entered it again.
1 source f: \ create. SQL

 

For convenience, I put the file directly under the root directory of the F disk. This time, it turned out to be a semicolon.

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.