Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
18
rated 0 times [  18] [ 0]  / answers: 1 / hits: 39813  / 3 Years ago, fri, may 21, 2021, 8:27:18

I have exported all my databases to a file using phpMyAdmin.



Unfortunately I don't have a working phpMyAdmin in my destination system.



How should I restore all of them at once using one line command?


More From » mysql

 Answers
5

Why don't you concat all the files into one single file and import/restore using



mysql -u username -p < dump.sql


Create one file using



mysqldump -u username -p --all-databases > dump.sql

[#35054] Saturday, May 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
luringdge

Total Points: 3
Total Questions: 126
Total Answers: 109

Location: India
Member since Sun, Feb 6, 2022
2 Years ago
;