- JDBC 4.0 and Oracle JDeveloper for J2EE Development
- Deepak Vohra
- 173字
- 2021-08-25 18:08:48
JDBC Configuration Errors
You might get errors while configuring a JDBC connection. If you are using MySQL, and the connection URL is incorrect, or the MySQL database is not running, the following error message is generated:
Communications link failure
If you are using Oracle database, some possible connection configuration errors are listed below:
IO exception: The Network Adapter could not establish the connection IO exception: Connection refused
The The Network Adapter could not establish the connection exception is caused by one or more of the following configuration errors:
- The database host name, port number, or database instance name is wrong.
- The database
TNSListener
has not been started. TheTNSListener
may be started with thelsnrctl
utility.C:\>lsnrctl start
The Connection refused exception is caused by one or more of the following configuration errors:
- The database SID specified is incorrect.
- The database instance has not been started. To start the database instance connect to
SQL*Plus as SYSDBA
.C:\>sqlplus SYS/<pwd> AS SYSDBA
At the SQL prompt, start the database instance with the startup
command.
SQL>startup
推薦閱讀
- Painter 現代服裝效果圖表現技法
- PS是這樣玩的:輕松掌握 Photoshop 通關秘籍
- Moodle 2.0 E/Learning Course Development
- Photoshop案例實戰從入門到精通
- Liferay User Interface Development
- COSPLAY的后期藝術:Lightroom+Photoshop修圖技法攻略
- 板繪教室:SAI零基礎日系動漫插畫入門教程
- SketchUp/Piranesi印象彩繪表現項目實踐
- 中文版Photoshop 2020完全自學教程
- Photoshop CS6實戰從入門到精通(超值版)
- 短視頻剪輯基礎與實戰應用(剪映電腦版)
- 邊做邊學:Illustrator CS6平面設計案例教程(微課版)
- 中文版Photoshop CS6完全自學手冊(超值版)
- Origin 2022科學繪圖與數據分析(高級應用篇)
- 構筑敏捷的開發團隊:微軟Visual Studio 2010實戰兵法