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
The establishment of MySQL index is very importan...
Table of contents 1. What is a cursor? 2. How to ...
This article shares the specific code of JavaScri...
Table of contents 1. Conditions for joint index f...
1. mysqlbinlog: [ERROR] unknown variable 'def...
If you want to adjust the size and number of Inno...
environment name property CPU x5650 Memory 4G dis...
Preface It is said that if the people doing opera...
Install MySQL for the first time on your machine....
When we use the like % wildcard, we often encount...
In the previous article, we introduced how to for...
Use the Linux utility certbot to generate https c...
Let me tell you about a recent case. A game log l...
This article mainly introduces the solution to th...
Table of contents Event-driven and publish-subscr...