Mohamed Riaz wrote:
>
> hi,
> My Environment
> Linux SuSE 6.0
> MySql database
>
> I use a driver called twz1. It is of type 3.
> I follow the following syntax to invoke.
> Class.forName("twz1.jdbc.mysql.jdbcMysqlDriver);
> DriverManager.getConnection("jdbc:z1MySQL:");
>
> Using this i am able to connect only to the tables present in the default
> 'mysql' database. If i have a database with a name say xxx how do i connect
> to this using jdbc.
>
Use MM drivers for MySQL... They're simply the best :-)
Pier
--
Pierpaolo Fumagalli - Java Apache Project - <http://java.apache.org/>
E-Mail <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]