I am using the gwe.sql.gweMysqlDriver to work with jdk1.2.1 under linux
environment.The driver is loaded properly and the database is also creating
table properly but when java program is run it compiles nicely, but while
running it,it shows the exception"connection to database refused".I'm not
able to figure out what the problem is.
1. See: http://www.mysql.com/Contrib for modern JDBC drivers.
2. About "connection to database": check the GRANT tables. Run the
interactive
"mysql" command line from the same machine you want to run Java on,
with the
same username and password, or lack of password as your Java
application.