This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JDBC and the fly likes how to make connection by using mysql Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how to make connection by using mysql" Watch "how to make connection by using mysql" New topic
Author

how to make connection by using mysql

pralhad patil
Greenhorn

Joined: May 27, 2010
Posts: 4
please tell me how to make connection by using mysql instead of oracle
Dawn Charangat
Ranch Hand

Joined: Apr 26, 2007
Posts: 249
You'll need the MySql driver jar, the MySql server's URL (IP & port), database name, username and password
That apart, connecting to MySql is same as connecting to Oracle

For more details, check this:
http://www.roseindia.net/jdbc/jdbc-mysql/MysqlConnect.shtml
pralhad patil
Greenhorn

Joined: May 27, 2010
Posts: 4
Dawn Charangat wrote:You'll need the MySql driver jar, the MySql server's URL (IP & port), database name, username and password
That apart, connecting to MySql is same as connecting to Oracle

For more details, check this:
http://www.roseindia.net/jdbc/jdbc-mysql/MysqlConnect.shtml
pralhad patil
Greenhorn

Joined: May 27, 2010
Posts: 4
pralhad patil wrote:please tell me how to make connection by using mysql instead of oracle

Ok thanks
pralhad patil
Greenhorn

Joined: May 27, 2010
Posts: 4
Dawn Charangat wrote:You'll need the MySql driver jar, the MySql server's URL (IP & port), database name, username and password
That apart, connecting to MySql is same as connecting to Oracle

For more details, check this:
http://www.roseindia.net/jdbc/jdbc-mysql/MysqlConnect.shtml


Thanks
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Dawn Charangat wrote:For more details, check this:
http://www.roseindia.net/jdbc/jdbc-mysql/MysqlConnect.shtml

Please, don't refer roseindia, its not the good site to learn, why, check here:
http://balusc.blogspot.com/2008/06/what-is-it-with-roseindia.html

and Pralhad, welcome to JR, you need to correct that subject line, there is no db server named "myaql"


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make connection by using mysql
 
Similar Threads
unable to run MySQL queries
Jboss and mysql connection (failover)
Changing from MSAccess to MySQL
Problem connecting to Mysql via connector/j
can't connect Mysql 5.2 server on '127.0.0.1' (10061)