Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   offline reading of a MySQL db - how do I do that ?? (http://www.greenguysboard.com/board/showthread.php?t=10681)

Bell 2004-08-31 06:53 PM

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

Chop Smith 2004-08-31 11:09 PM

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.

Bunnyhop 2004-09-01 12:43 PM

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).

Pazz 2004-09-19 08:31 AM

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 :)

Bell 2004-09-22 10:11 AM

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


All times are GMT -4. The time now is 08:49 PM.

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