Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2004-08-31, 06:53 PM   #1
Bell
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
 
Bell's Avatar
 
Join Date: Apr 2003
Location: Dayton, Ohio (currently)
Posts: 455
offline reading of a MySQL db - how do I do that ??

I am able to download the db for my TGP that uses Auto Gallery Pro - but what do I read that file with (offline) ??

is there a way to sort through all those
que entries offline ?? (not through
the server)

~Bell
__________________
1000's of Domain Names to Choose from at DomainBELL.com
Bell is offline   Reply With Quote
Old 2004-08-31, 11:09 PM   #2
Chop Smith
Eighteen 'til I Die
 
Chop Smith's Avatar
 
Join Date: Apr 2003
Location: Mississippi
Posts: 2,168
Send a message via ICQ to Chop Smith
Bell, what is the file extention on that download? If it is the backup created by the program - sql.txt -, you can use a text editor, such as notepad, to read the sql statements. Actually even if it is unzipped .sql file, you can read it with a text editor.

HOWEVER, if you do not know sql, I would not advice you to attempt to do changes and then try to restore it.

Perhaps, if we knew more about what you were trying to accompanlish we could help you find a solution.
__________________

Last edited by Chop Smith; 2004-08-31 at 11:31 PM..
Chop Smith is offline   Reply With Quote
Old 2004-09-01, 12:43 PM   #3
Bunnyhop
Lord help me, I'm just not that bright
 
Join Date: Jun 2004
Posts: 106
The best thing to do is dump the database into a text file.

Log into your webserver and run

mysqldump databasename > file.txt

mysqldump comes standard with mysql installations. You may need to modify the above a bit if you need to provide username/password authentication.

Then download the file.txt file and you can use any text editor you wish.

mysqldump provides several options to allow you to manipulate the format of the text too if it is necessary for you.

I'm not away of any programs that can parse a MySQL db file directory (besides MySQL itself).
Bunnyhop is offline   Reply With Quote
Old 2004-09-19, 08:31 AM   #4
Pazz
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Apr 2003
Location: Australia
Posts: 42
Send a message via ICQ to Pazz
Or my favorite is phpMyAdmin and export the file and open it in wordpad/ notepad or what ever floats your boat. Of course editing online with phpMyAdmin is so easy it's better than doing it offline
__________________
Artificial intelligence is no match for natural stupidity
Pazz is offline   Reply With Quote
Old 2004-09-22, 10:11 AM   #5
Bell
I saw weird stuff in that place last night. Weird, strange, sick, twisted, eerie, godless, evil stuff. And I want in
 
Bell's Avatar
 
Join Date: Apr 2003
Location: Dayton, Ohio (currently)
Posts: 455
Quote:
Originally posted by Pazz
Or my favorite is phpMyAdmin and export the file and open it in wordpad/ notepad or what ever floats your boat. Of course editing online with phpMyAdmin is so easy it's better than doing it offline

thank you for sharing that information...



~Bell
__________________
1000's of Domain Names to Choose from at DomainBELL.com
Bell is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:23 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc