Im fairly new to Java but interested in learning how to use databases with java.
I have experimented allot with MySQL from php and have no problems there. I used XAMPP for that.
Do javas calls to MYSQL work in a similar way? Is it as straight forward?
So I still have XAMPP
I downloaded mysql-connector-java-5.1.15
changed my variable path to the location of mysql-connector-java-5.1.15-bin.jar
(changed the variable path by going start, right click on my computer, properties, advanced system settings, enviroment variables)
Am I good to go now? It doesnt seem to work?
Thanks for yout time,
Brandon
Using MYSQL with java
Page 1 of 14 Replies - 1153 Views - Last Post: 25 March 2011 - 11:04 AM
Replies To: Using MYSQL with java
#3
Re: Using MYSQL with java
Posted 25 March 2011 - 09:30 AM
Did you follow the installation guide for mysql-connector-java?
http://dev.mysql.com...installing.html
Edit: this link might help as well.
http://www.dreaminco...bc-odbc-bridge/
http://dev.mysql.com...installing.html
Edit: this link might help as well.
http://www.dreaminco...bc-odbc-bridge/
This post has been edited by EarthShaker: 25 March 2011 - 09:36 AM
#4
Re: Using MYSQL with java
Posted 25 March 2011 - 10:59 AM
Tryparse, on 25 March 2011 - 09:27 AM, said:
You'll want to look into JDBC.
I have tried to but im going around in circles to be honest.
Can you give me a brief list of what I need to download and install to get it going?
I have XAMPP (Which I was using MySQL with for php project)
I have mysql-connector-java-5.1.15
and obviously the JDK.
Thanks again
#5
Re: Using MYSQL with java
Posted 25 March 2011 - 11:04 AM
You might want to check out this tutorial as well. It shows how to get the driver set up. If you're using an IDE, it may have tools to help make setting up the driver easier.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote








|