![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on pspMyAdmin - database administration tool within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; With PSPMyAdmin it will be possible to take your database or spreadsheet on the go, read from them and edit ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() ![]() ![]() Developer
|
With PSPMyAdmin it will be possible to take your database or spreadsheet on the go, read from them and edit them. Currently I'm only interested in MySQL support but being able to read CSV files will be *much* easier to do.
Screen ![]() Download PSPMyAdmin Instructions - Unzip and move folder into PSP/GAME folder. Notice the test.sql file in it. - Launch the program. - It will tell you to press square, so go ahead and do it. - The program will read test.sql and produce a new file called out.txt - You will see the table and column names from the file that it read - Exit the program by pressing start. - Go back into the PSP/GAME/pspmyadmin folder. The new out.txt file should be there. - Open the file, and you'll see that the queries were re-ordered as showing how many of each there are. There's also an easter egg ![]() (the program writes *nix style newlines, so the text might appear bunched together in Notepad. Use something besides Notepad to open it) For webmasters that want to test their own SQL files This is for website owners running MySQL and PHPMyAdmin. You should know the basics of exporting a database, so just select the SQL option and do not check any of the special inserts (complete, extended, delayed or ignore). PSPMyAdmin will only read normal insert queries. Copy and paste the text of your SQL dump and save it in a new file called test.sql. Just use this instead of the test.sql that came with the program. PSPMyAdmin is made with a slightly modified OldSchool Lib to handle the graphics and input. The changes I made to OSLib were replacing some C library includes with their C++ counterparts. The code that parses MySQL syntax is written by myself.
__________________
GameSnooper - Random drawing of gaming news The 32 Bit Shell - My development blog (also includes gaming oddities) Last edited by JustChris; 09-25-2007 at 10:29 PM.. |
|
|
|
|
|
#3 | |
![]() ![]() is not posting very often
|
great name
Good looking program too, i might download in the future
__________________
Quote:
|
|
|
|
|
|
|
#4 |
![]() ![]() ![]() Developer
|
I'm back as well, and now doing some more work on the program. There's a test program if you want to check it out!
__________________
GameSnooper - Random drawing of gaming news The 32 Bit Shell - My development blog (also includes gaming oddities) |
|
|
|
|
|
#8 |
![]() ![]() ![]() Developer
|
Yeah, that's it for now. All it does now is re-arrange the query syntax and save it in a new file, so it's only proof of concept for parsing SQL files. Changing the data will be a little harder, since I need to come up with a good interface to type text on the PSP.
__________________
GameSnooper - Random drawing of gaming news The 32 Bit Shell - My development blog (also includes gaming oddities) |
|
|
|
|
|
#10 |
![]() ![]() ![]() Developer
|
Sorry, I have been too busy working on school programming projects, and my own PSP game to continue with this much. Finding the best data structures for representing a MySQL database was a bit tough.
I would probably use oldrider's PSP Framework so that I can focus less on programming and getting results faster, since it uses OSLib.
__________________
GameSnooper - Random drawing of gaming news The 32 Bit Shell - My development blog (also includes gaming oddities) |
|
|
|
![]() |
| Tags |
| administration , database , pspmyadmin , tool |
| Thread Tools | |
|
|