gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Can a DS interact with Mysql DB? [Renamed]

#80577 - Fenderocker - Sun Apr 23, 2006 3:56 pm

Is there a way that the DS can interact with a MYSQL database? I haven't ever coded for the DS and am only just working on GBADEV but, interacting with a MYSQL database would be a great way to post High scores and stuff on the WEB.

#80582 - 0xtob - Sun Apr 23, 2006 4:40 pm

Sure, why not? But you'll have to wait until the Wifi-lib supports TCP. Then you can either write or port a mysql client to the DS and include it in games/apps. Would be quite cool to have such a thing.

#80599 - tepples - Sun Apr 23, 2006 6:10 pm

Actually, you'd just need TCP and an HTTP client on the DS side, as the MySQL client is usually part of a web server's CGI. MySQL isn't as good at enforcing business logic rules as PostgreSQL, Oracle, MS SQL Server, and other scriptable database servers. Internet apps that use MySQL typically enforce rules in scripts written in a language whose name starts with P.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#80605 - Nushio - Sun Apr 23, 2006 7:18 pm

I was considering doing some sort of MySQL port once TCP hits DSHomebrew scene. Mainly out of curiousity...

I know we first need an HTTP Client, how hard would it be to port Lynx or one of those Text-based browsers? :D

#80611 - Fenderocker - Sun Apr 23, 2006 8:51 pm

so it would be possible? ok thanks guys, now we just wait.....

#80621 - tepples - Mon Apr 24, 2006 12:25 am

Nushio wrote:
I know we first need an HTTP Client, how hard would it be to port Lynx or one of those Text-based browsers? :D

That's been asked before.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.