Garayed.com  

Go Back   Garayed.com > mySQL
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-08-2006, 12:48 AM
don
 
Posts: n/a
Default upload syntax question

I just bought some web space which has mysql capabilities..... I am using
SSH and have created a database and a table........ now I would like to
populate the table by using a text file which is stored on my home
computer......... could someone please give me the syntax for this because
the mysql book I am using "SQL Queries for Mere Mortals" by M. Hernandez
although very good for demonstrating SQL queries does not seem to indicate
just how to get the data uploaded into your table !

I do have ftp capabilities also which I am using to upload my .html files
to my web space area, but I guess I don't know how to access the database
area with ftp or even if that is the way to do it...... thanks for any
help.... if you know of a good book which explains this , that would be good
too.....


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-08-2006, 03:03 PM
Bob Lanteigne
 
Posts: n/a
Default Re: upload syntax question

don wrote:
> I just bought some web space which has mysql capabilities..... I am using
> SSH and have created a database and a table........ now I would like to
> populate the table by using a text file which is stored on my home
> computer......... could someone please give me the syntax for this because
> the mysql book I am using "SQL Queries for Mere Mortals" by M. Hernandez
> although very good for demonstrating SQL queries does not seem to indicate
> just how to get the data uploaded into your table !
>
> I do have ftp capabilities also which I am using to upload my .html files
> to my web space area, but I guess I don't know how to access the database
> area with ftp or even if that is the way to do it...... thanks for any
> help.... if you know of a good book which explains this , that would be good
> too.....


Have a look at the documentation for the mysqlimport utility. If you
have an account with remote access to the MySQL server you can use it
to load the contents of a local file to the database.

Bob.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:34 AM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.