How to easily import multiple sql files into a MySQL database?

后端 未结 11 1911
一整个雨季
一整个雨季 2021-01-29 20:02

I have several sql files and I want to import all of them at once into a MySQL database.

I go to PHPMyAdmin, access the databa

11条回答
  •  死守一世寂寞
    2021-01-29 20:24

    Just type below command on your command prompt & it will bind all sql file into single sql file,

    c:/xampp/mysql/bin/sql/ type *.sql > OneFile.sql;
    

提交回复
热议问题