|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I run sql script files in MySQL? I've done it with interbase, and it is very simple, but I can't find out how to do it with MySQL. And, yes, I've checked mysql.com...
thanks in advance! |
|
#2
|
|||
|
|||
|
mysql -u user -ppassword [databasename] < /path/to/schema.sql
databasename is required unless the schema file contains a "use databasename;" command. |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > script files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|