I had successfully imported a database using command line, but now my pain area is how to import a single table with its data to the existing database using command line.
相关问题
- sqlyog export query result as csv
- NOT DISTINCT query in mySQL
- MySQL: conduct a basic search
- Why sometimes there is one of more gap(s) in the v
- How to reimport module with ES6 import
It works correctly...
please note .sql file specified your current database..
if you already have the desired table on your database, first delete it and then run the command below:
From server to local(Exporting)
From local to server(Importing)
Export:
Import:
Whole database:
Single table:
Also its working. In command form
Importing the Single Table
To import a single table into an existing database you would use the following command:
Note:It is better to use full path of the the sql file tableName.sql