Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to make connection by using mysql

 
pralhad patil
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell me how to make connection by using mysql instead of oracle
 
Dawn Charangat
Ranch Hand
Posts: 249
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pralhad patil wrote:please tell me how to make connection by using mysql instead of oracle

Ok thanks
 
pralhad patil
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic