Does your /etc/my.cnf file have these lines in it?

[mysqld]
port=3306
socket=/tmp/mysql.sock
basedir=/var/lib

I'm pretty sure that the Red Hat default MySQL install doesn't have the 
"port=3306" line. I had problems with the same JDBC driver back in 2000 
and I vaguely remember adding that line to solve it.

Also, you may want to include

e.printStackTrace();

in your catch block. That will allow you to see exactly where things go 
wrong while you're debugging your code.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to