Answers for "import sql file via command line"

SQL
3

import sql from terminal

mysql -u <username> -p <databasename> < <filename.sql>
Posted by: Guest on May-01-2021
-1

import sql files

use DATABASE_NAME
source SQL_FILE_PATH


e.g.
use test
source c://users.sql
Posted by: Guest on February-15-2021

Code answers related to "import sql file via command line"

Code answers related to "SQL"

Browse Popular Code Answers by Language