Answers for "sql import .sql file"

SQL
2

mysql import from sql file

mysql -u username -p database_name < file.sql
; OR
 mysql> use db_name;
 mysql> source file_name.sql;
Posted by: Guest on August-26-2020
0

import sql via command line

mysql> use db_name;

mysql> SET autocommit=0 ; source the_sql_file.sql ; COMMIT ;
Posted by: Guest on April-06-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 "SQL"

Browse Popular Code Answers by Language