logo       

Re: remote login mysql bug in RH8 or com.ziclix.python.sql zxJDBC mysql: msg#00064

lang.jython.user

Subject: Re: remote login mysql bug in RH8 or com.ziclix.python.sql zxJDBC mysql

chrisf wrote:
Stange behaviour from the com.ziclix.python.sql mysql database connector. I have my mysql server 3.23.54a-4. up and running on a RH8
box.

from the command line of a remote machine: mysql -hXXX.XXX.XXX -P3306
-utest_user -Dtest_db WORKS

Programatically from remote machine:

from com.ziclix.python.sql import zxJDBC db = zxJDBC.connect('jdbc:mysql://XXX.XXX.XXX:3306/test_db, 'test_user', None,'org.gjt.mm.mysql.Driver')

Results in Database Error : driver not found

Here is the WIERD part

Programatically from localhost machine:

from com.ziclix.python.sql import zxJDBC db = zxJDBC.connect('jdbc:mysql://XXX.XXX.XXX:3306/test_db, 'test_user', None,'org.gjt.mm.mysql.Driver')

WORKS

Sounds like you have the mysql JDBC driver (org.git.mm.mysql.Driver) in
your CLASSPATH on the local box, but not on the remote one.

--
David Ripton dripton@xxxxxxxxxx



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise