|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Creating tables from sql text files
Hello,
I can't seem to fiqure out how to run my createtables.sql text file in mysql. This file contains all my table names + definitions for my database. Can someone please direct me thank u |
|
#2
|
|||
|
|||
|
Log in via SSH.
Use 'mysqlimport -h localhost -u username -p -v databasename textfile.sql' There are other ways that you can use mysql to import the data within the file, but this is the preferred way. Quote:
|
|
#3
|
|||
|
|||
|
for a graphical interface, i just use mysql-front to do it for me. it's easier and doesn't give you a migraine.
![]()
__________________
Apache Expert |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Creating tables from sql text files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|