| Author |
Problem connecting Jdeveloper to MySQL
|
mark mathis
Greenhorn
Joined: Mar 14, 2002
Posts: 13
|
|
|
Hello, I'm new to the Jdeveloper tool and am trying to get a connection to a mySQL database using the mySQL driver mm.mysql.... Is this possible?
|
 |
Graham Thorpe
Ranch Hand
Joined: Mar 25, 2002
Posts: 264
|
|
yes it is poosible . Better u see this website and download " http://mmmysql.sourceforge.net/"
|
 |
Tejeshwara Murthy K.G
Greenhorn
Joined: Apr 08, 2002
Posts: 4
|
|
Hi mark It's possible to connect. Try with this source code. Connection con = null; try { Class.forName("org.gjt.mm.mysql.Driver"); con = DriverManager.getConnection("jdbc:mysql://localhost/DBName?user=root");//This is for Linux for windows don't specify user=root. } catch (SQLException e) { System.out.println("error "+e); } Regds Tejesh
|
 |
 |
|
|
subject: Problem connecting Jdeveloper to MySQL
|
|
|