OpenOffice 连接mysql The JDBC driver could not be loaded 的解决办法
2008-05-15 10:58
671 查看
点击OpenOffice 的File -->New-->database-->select database -->Connect to an existing database(MySQL)---Next---Connect using JDBC(Java Database Connetivity)---Next--- 输入一些信息,比如:
Name of the database: examlpeData
Sever URL :localhost
Port number :3306
MySQL JDBC driver class : com.mysql.jdbc.Driver
但是点击Test class连接Mysql是遇到 The JDBC driver could not be loaded 的问题可以这样试试:
重新打开OpenOffice--Tools>Options>OpenOffice.org>Java>Class path>Add Archive> 找到从http://dev.mysql.com/downloads/connector/j/5.1.html 下载到的jar包。
完成这些操作以后,必须重新运行OpenOffice才可以生效,不知道怎么重新运行就重启机器吧^^.
然后在按照上面说的一步一步的到Test class 时,就会看到 The JDBC driver was loaded successfully.
Name of the database: examlpeData
Sever URL :localhost
Port number :3306
MySQL JDBC driver class : com.mysql.jdbc.Driver
但是点击Test class连接Mysql是遇到 The JDBC driver could not be loaded 的问题可以这样试试:
重新打开OpenOffice--Tools>Options>OpenOffice.org>Java>Class path>Add Archive> 找到从http://dev.mysql.com/downloads/connector/j/5.1.html 下载到的jar包。
完成这些操作以后,必须重新运行OpenOffice才可以生效,不知道怎么重新运行就重启机器吧^^.
然后在按照上面说的一步一步的到Test class 时,就会看到 The JDBC driver was loaded successfully.
相关文章推荐
- Qt连接MySQL提示“QSqlDatabase: QMYSQL driver not loaded”的解决办法
- Qt连接MySQL提示“QSqlDatabase: QMYSQL driver not loaded”的解决办法
- AFNetworking 提示"The resource could not be loaded because the App Transport Security policy requires the use of a secure connection" 解决办法
- PowerDesigner15连接数据库报错解决办法Non SQL Error : Could not load class oracle.jdbc.OracleDriver
- JDBC出现这个错误的解决办法Connections could not be acquired from the underlying database!
- PowerDesigner15连接数据库报错解决办法Non SQL Error : Could not load class oracle.jdbc.OracleDriver
- IDEA连接mysql教程,以及出现java.lang.ClassNotFoundException: com.mysql.jdbc.Driver的解决办法
- mysql-The program could not be launched,Error Number 2解决办法
- AFNetworking 提示"The resource could not be loaded because the App Transport Security policy requires the use of a secure connection" 解决办法
- Server Application Unavailable 【Failed to execute request because the App-Domain could not be created.】的解决办法
- 配置MySQL出错The service could not be started. Error:0 解决
- 关于The MBean class could not be loaded by the default loader repository的解决方法
- 黄聪:PHP数据库连接失败--could not find driver 解决办法
- Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the ‘MySQL‘ driver (jar file) i
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- Eclipse Wowza 插件报 "The builder launch configuration could not be found" 错误的解决办法
- The following classes could not be instantiated: - android.support.v7.widget.Toolbar 解决办法
- win7_oracle11g_64位连接32位PLSQL,ORA-12154: TNS:could not resolve the connect identifier specified解决办法
- PowerDesigner导入MySql步骤和解决问题Non SQL Error : Could not load class com.mysql.jdbc.Driver
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法