LWJGL Forum

Programming => General Java Game Development => Topic started by: Shazer2 on April 25, 2011, 11:44:01

Title: MySQL Database Connection -- Login
Post by: Shazer2 on April 25, 2011, 11:44:01
I'm planning on making an RPG, and to start with I need to learn how a login using a MySQL database would work. I've had previous experience with PHP so I know most SQL commands and how to do a login with PHP so I'm guessing it will be a similar method although I don't know the commands for Java to pull from the database. I just need to know how to parse it with Java.

It needs to connect to a MySQL server, and that's basically that is all that is needed to know.

If you anyone can help, please leave a reply.
Title: Re: MySQL Database Connection -- Login
Post by: CodeBunny on April 25, 2011, 15:21:58
Seeing as this is more of a database question, you'd be better set asking this on JavaGaming, StackOverflow, etc. This really doesn't interface with LWJGL at all.
Title: Re: MySQL Database Connection -- Login
Post by: Shazer2 on April 26, 2011, 01:55:27
Is that why you have a General Java Game Development section? What the hell is this meant for then?

Don't need the assistance anymore anwyay.
Title: Re: MySQL Database Connection -- Login
Post by: Matzon on April 26, 2011, 04:52:21
well, in that sense, connecting to a database through jdbc isn't really a games development question ;)
Title: Re: MySQL Database Connection -- Login
Post by: CodeBunny on April 29, 2011, 17:28:03
Quote from: Shazer2 on April 26, 2011, 01:55:27
Is that why you have a General Java Game Development section? What the hell is this meant for then?

Don't need the assistance anymore anwyay.

I was only trying to help - it seemed to me that more people on those boards would have more experience with what you're talking about.
Title: Re: MySQL Database Connection -- Login
Post by: Shazer2 on May 15, 2011, 00:50:42
Sorry for being crude, not needed anymore. Working on something else, will get back to it later.
Title: Re: MySQL Database Connection -- Login
Post by: Evil-Devil on June 14, 2011, 11:28:59
Sry 4 bump this, but the last time I used the MySQL JDBC Connector, the enclosing readme and example files provided a good start for connection and simple sql commands.