LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-21-2005, 12:04 PM   #1
LLS
Member
 
Registered: Sep 2003
Location: North America
Distribution: FC6 FC7 F8
Posts: 75

Rep: Reputation: 15
txt >> mysql


I have saved a bunch of plain text files of information about an OS that is like a "help file" and I was curious about whether or not I could dump these plain txt file into a mysql database with some sort of commands to strip unallowed spaces and stuff and organize it in a searchable fashon? Maybe a script or something? Anyone have any ideas about this?
 
Old 06-21-2005, 12:07 PM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,477

Rep: Reputation: 87
Have you taken a look at the mysqlimport program that comes with MySQL?
 
Old 06-21-2005, 12:15 PM   #3
LLS
Member
 
Registered: Sep 2003
Location: North America
Distribution: FC6 FC7 F8
Posts: 75

Original Poster
Rep: Reputation: 15
Thanks, I actually did not know it existed. That is exactly what I need. I will study it and see if it does everything I am wanting like tbl_names etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
robots.txt paleogryph Linux - Software 1 11-11-2005 03:32 PM
configuring robots.txt jc materi Linux - Security 1 04-09-2005 11:37 AM
I can only print ps/txt files ? TroelsSmit Linux - Newbie 3 09-12-2004 02:15 PM
mySQL redirecting query result to a .txt file! buttersoft Linux - Software 8 12-12-2003 04:05 AM


All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration