Welcome Guest ( Log In | Register )




                Web Hosting Guide

 
Reply to this topicNew Topic
Accessing And Retrieving Data From A Databases.
Demonhawk
post Aug 6 2006, 03:06 AM
Post #1


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 24
Joined: 4-August 06
Member No.: 14,953


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
Go to the top of the page
 
+Quote Post
TavoxPeru
post Aug 6 2006, 04:58 AM
Post #2


Super Member
Group Icon

Group: [HOSTED]
Posts: 876
Joined: 8-April 06
From: Lima - Peru
Member No.: 12,579
myCENTs:13.21


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,
Go to the top of the page
 
+Quote Post
Demonhawk
post Aug 6 2006, 05:15 AM
Post #3


Newbie [ Level 2 ]
Group Icon

Group: Members
Posts: 24
Joined: 4-August 06
Member No.: 14,953


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

Thanks again!
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   17 darkool 9,404 18th March 2010 - 07:41 AM
Last post by: iG-magasha
No New Posts   16 Kushika 8,093 22nd February 2010 - 10:00 AM
Last post by: iG-ebincharles
No New Posts   3 clovis 1,464 15th February 2010 - 12:17 PM
Last post by: iG-zet
No New Posts   14 sandeep 6,096 13th January 2010 - 09:58 PM
Last post by: iG-Lindsey
No New Posts   11 himanshurulez 5,071 29th December 2009 - 07:34 PM
Last post by: iG-
No new   55 vickofpak 13,391 9th December 2009 - 08:55 AM
Last post by: iG-chandan
No New Posts   2 xhrist14n 181 26th November 2009 - 05:28 AM
Last post by: starscream
No New Posts   13 tansqrx 3,442 23rd August 2009 - 07:31 AM
Last post by: surfermac
No New Posts   10 Nivedita 4,040 18th August 2009 - 01:01 PM
Last post by: surfermac
No New Posts 1 khalilovitch 694 8th July 2009 - 03:04 PM
Last post by: iG-Andrew Shenderuk
No New Posts   12 Match 2,235 30th June 2009 - 02:09 AM
Last post by: takerraj
No New Posts   2 Leveecius 640 4th May 2009 - 02:49 AM
Last post by: jlhaslip
No New Posts   13 Alexandre Cisneiros 3,098 24th February 2009 - 07:53 AM
Last post by: pyost
No New Posts   3 khalilov 483 4th February 2009 - 09:14 AM
Last post by: Quatrux
No New Posts   6 fabiocardoso 2,169 2nd February 2009 - 06:28 AM
Last post by: iG-vrutika shah


Web Hosting Powered by ComputingHost.com.
HONESTY ROCKS! truth rules.
Creative Commons License