擅长:python、mysql、java
<p>因为您使用的是jython,所以请使用<a href="http://dev.mysql.com/downloads/connector/j/3.1.html" rel="nofollow">mysql connector/J</a>jar。下载它,将其添加到您的<code>CLASSPATH</code>,并确保执行代码的用户对jar所在的位置具有读取权限。在</p>
<p>一旦有了jar,请按照<a href="http://www.jython.org/archive/21/docs/zxjdbc.html" rel="nofollow">the documentation</a>获取示例代码。在</p>