JDBC连接oracle 10g express Edition 的时候报错error while performing database login with ** driver
来源:互联网 发布:自学java看什么书 知乎 编辑:程序博客网 时间:2024/05/18 20:36
JDBC连接oracle 10g express Edition 的时候报错error while performing database login with ** driver
用JDBC连接oracle 10g express Edition 的时候报错error while performing database login with (driver name ) driver ,那位大侠指点下可能出现的情况!谢了哦!
package dao;import java.sql.Connection;import java.sql.DriverManager;import java.sql.SQLException;public class DBFactory { protected static Connection getconnection(){ Connection conn = null; try { Class.forName("oracle.jdbc.driver.oracledriver"); conn = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:xe"); } catch (SQLException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ClassNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } return conn; }这就是连接代码,jar包是自带的classes12 ,服务全部已启动状态
你的连接错着呢如下:把这个(127.0.0.1)换成你的IP地址 如 192.168.1.56
- JDBC连接oracle 10g express Edition 的时候报错error while performing database login with ** driver
- 在MyEclipse中配置Oracle10g的连接报错:error while performing database login with the oracle driver
- 在MyEclipse中配置Oracle10g的连接报错:error while performing database login with the oracle driver
- error while performing database login with the oracle driver
- error while performing database login with the oracle driver
- error while performing database login with the oracle driver
- Myeclipse连接Mysql数据库时报错:Error while performing database login with the pro driver:unable
- error while performing database login with the DriveName driver
- eclipse : Error while performing database login with the driver null
- myeclipse error while performing database login with the MySQL driver
- Error while performing database login with the mysql driver
- Error while performing database login with the com.mysqtest driver
- error while performing database login with the mysql driver 的解决方法
- Error while performing database login with the oracle 解决方案
- eclipse中配置连接db2异常(error while performing database login with the db2 driver;unable to create connec)
- MyEclipse中连接mysql数据库提示error while performing database login with the testMySQL driver check your url
- MyEclipse中连接mysql数据库提示error while performing database login with the testMySQL driver check your url
- Error while performing database login with the Mysql connector driver;Unknown database 'test'
- How to Perfectly Uninstall Ask Toolbar
- 标点符号全角转半角
- HTML5与JQuery.Mobile(三)
- 寻找马鞍点
- strcmp 使用说明
- JDBC连接oracle 10g express Edition 的时候报错error while performing database login with ** driver
- 3D Cross-Platform 3rd Person Shooter - To Intel x86 Android
- 【数据结构】选择排序
- linux 安装python的postgres库
- Android屏幕亮度调节
- FileUtiles文件上传
- android 多媒体部分学习笔记十五-----视频录制
- windows下访问Ext2/Ext3的一些解决方案
- Oracle:删除监听服务