To achieve the goal: Import the tsinfo180516.sql file into the database demo1 through the command line. Rendering The first method: When the MySQL database is not connectedExecute the sql file in the mysql command line Run --cmd
The second method: When the database is already connected, the command prompt is mysql>.Enter the password to connect to the database Practical record of importing SQL files using MySQL source commandEnter the full path of the source script or \. full path of the script For example: Or This concludes this article about several methods of executing SQL files under the MySQL command line. For more information about executing SQL files under the MySQL command line, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Tutorial on installing nginx in Linux environment
>>: Pure CSS to solve the ceiling and bottom suction in H5 layout implementation steps
<br />In the previous article, I introduced ...
1. Problem There is a table as shown below, we ne...
Cause of the problem: At first, the default yum s...
Core code -- Below I will demonstrate the impleme...
Table of contents What is a trigger Create a trig...
Detailed analysis of SQL execution steps Let'...
Hello everyone, I am Liang Xu. When using Linux, ...
Main differences: 1. Type SQL databases are prima...
Table of contents Component Design Defining the f...
First, download the diagram 1. First uninstall th...
Table of contents Overview Promise Race Method Re...
Function: data display, table application scenari...
The following error message appears when installi...
This article uses an example to illustrate how to...
Table of contents question analyze solve Replace ...