MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 3rd, 2006, 08:09 AM
matchettsql matchettsql is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 2 matchettsql User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 32 m 17 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old March 16th, 2006, 05:19 PM
Buckwheat469 Buckwheat469 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2006
Posts: 1 Buckwheat469 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m
Reputation Power: 0
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:
Originally Posted by matchettsql
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

Reply With Quote
  #3  
Old March 30th, 2006, 01:34 PM
infamous-online infamous-online is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 404 infamous-online User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 24 m 44 sec
Reputation Power: 7
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

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > Creating tables from sql text files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT