> I use Tomcat 4.0.1, Apache 2.0.28, Mysql 3.22 and solaris 8, 
> and need conect
> with database, please help with this configration.

We'll need more information!  What exactly are you having problems with?  In
the meantime, this should help:

The JDBC mySQL drivers are available on Sourceforge (search for them).

The code looks something like this:

try
{
        Class.forName("org.gjt.mm.mysql.Driver");
}
catch(ClassNotFoundException ce) {
        System.out.write("Unable to locate driver class for database: " +
ce);
        throw(ce);
}

try
{
        connection =
DriverManager.getConnection("jdbc:mysql://localhost:3306/gam?user=xxx&passwo
rd=yyy");
}
catch(SQLException se)
{
        System.out.write("EsriukDataPool - Unable to initiate connection: "
+ se);
        throw(se);
}

HTH.
J.
-- 
You're only jealous cos the little penguins are talking to me. 



***************************************************************
For more information on Ordnance Survey products and services,
visit our web site at http://www.ordnancesurvey.co.uk
***************************************************************




--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to