Nov 22, 2009

Accessing And Retrieving Data From A Databases.

free web hosting
Open Discussion & Free Web Hosting > Computers & Tech > Programming > Programming General > Java

Accessing And Retrieving Data From A Databases.

Demonhawk
Well I have a question about how to go about using say a MySql database and being able to connect to it from a Java console or applet program and retrieve data and then put it into some int or string or something depending on what the datatype it is. I wanna implement this in a RPG I am making because it would make life so much simpler, right now I have to do like 5 lines of code for a single location for a text based rpg, if I tried to make the game more complicated with graphics and what not I think it would become ridiculous. So if anyone could help it would be much appreciated smile.gif

Comment/Reply (w/o sign-up)

TavoxPeru
To connect a MySql database with Java you need the MySQL Connector/J that is a native Java driver that converts JDBC (Java Database Connectivity) calls into the network protocol used by the MySQL database, find more info visiting: Using MySql with Java.

Best regards,

Comment/Reply (w/o sign-up)

Demonhawk
Thanks a ton man, totally did not think of searching MySql site tongue.gif talk about forgetting the basics of internet hunting.

Thanks again!

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)


See Also,

*SIMILAR VIDEOS*
Searching Video's for accessing, retrieving, data, databases
advertisement



Accessing And Retrieving Data From A Databases.

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com