Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 06-21-2005, 11:04 AM   #1
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, 11:07 AM   #2
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,540

Rep: Reputation: 101Reputation: 101
Have you taken a look at the mysqlimport program that comes with MySQL?
Old 06-21-2005, 11:15 AM   #3
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.


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 08:44 AM
robots.txt paleogryph Linux - Software 1 11-11-2005 02:32 PM
configuring robots.txt jc materi Linux - Security 1 04-09-2005 10:37 AM
I can only print ps/txt files ? TroelsSmit Linux - Newbie 3 09-12-2004 01:15 PM
mySQL redirecting query result to a .txt file! buttersoft Linux - Software 8 12-12-2003 03:05 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:20 PM.

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