Prøv at tilføj denne først:
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
> Conn =
>
DriverManager.getConnection("jdbc:mysql://localhost/db","username","passwd")
> ;
> }
> catch (SQLException E) {
> System.err.println("SQLException: " + E.getMessage());
> System.err.println("SQLState: " + E.getSQLState());
> System.err.println("VendorError: " + E.getErrorCode());
> }
>
> SQLException: Server configuration denies access to data source
øh har du rigtigt username/password ?
>
> Nogen erfaringer med Mysql og Java ?
Fungerer perfekt.
--
With many Thanks
Soren ' Disky ' Reinke ICQ #1413069 remove 'ihsyd' when email replying
Please visit my Freshwater Aquaria Webpage
http://www.disky-design.dk/fish