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
Preface This article records a problem I encounte...
Recently, when I was working on a project, I was ...
Click the button to turn the text into an input b...
Table of contents 1. Auxiliary functions 2. Examp...
drop table Drop directly deletes table informatio...
This article example shares the application code ...
Create a user: create user 'oukele'@'...
In the later stage of exploiting SQL injection vu...
1. Enter the /etc/init.d directory: cd /etc/init....
Table of contents Proper use of indexes 1. Disadv...
The methods and concepts of private filters and g...
The ".zip" format is used to compress f...
The so-called favicon, which is the abbreviation o...
As shown in the figure: Table Data For such a tre...
What to do if VmWare cannot access the Internet w...