How to run a SQL file containing multiple databases (schema) from Mysql shell?
P粉194541072
P粉194541072 2024-03-29 10:04:36
0
1
348

I used Mysql Workbench to export multiple schemas into a 2GB sql file. Now, I want to import it.

The problem is that in the examples I've seen so far, the commands are for each mode:

mysql -h hostname -u user database < path/to/test.sql

My file contains many tables from multiple schemas.

How to run? It's too large to paste into Mysql Workbench, or run from a program.

P粉194541072
P粉194541072

reply all(1)
P粉738821035

Three choices:

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template