2 messages in com.mysql.lists.javaRe: Problem in connecting with mysql
FromSent OnAttachments
ANURAG NARAYAN11 Feb 2000 01:59 
Cris Perdue11 Feb 2000 09:01 
Subject:Re: Problem in connecting with mysql
From:Cris Perdue (cr@perdues.com)
Date:02/11/2000 09:01:29 AM
List:com.mysql.lists.java

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.