惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
GbyAI
GbyAI
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
Vercel News
Vercel News
Microsoft Azure Blog
Microsoft Azure Blog
Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
AWS News Blog
AWS News Blog
Spread Privacy
Spread Privacy
Apple Machine Learning Research
Apple Machine Learning Research
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
P
Privacy International News Feed
C
CERT Recently Published Vulnerability Notes
C
Cybersecurity and Infrastructure Security Agency CISA
I
Intezer
Hugging Face - Blog
Hugging Face - Blog
H
Heimdal Security Blog
N
News and Events Feed by Topic
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Troy Hunt's Blog
大猫的无限游戏
大猫的无限游戏
SecWiki News
SecWiki News
Martin Fowler
Martin Fowler
人人都是产品经理
人人都是产品经理
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Application and Cybersecurity Blog
Application and Cybersecurity Blog
F
Fortinet All Blogs
Hacker News: Ask HN
Hacker News: Ask HN
Know Your Adversary
Know Your Adversary
Hacker News - Newest:
Hacker News - Newest: "LLM"
博客园 - 聂微东
S
Secure Thoughts
云风的 BLOG
云风的 BLOG
O
OpenAI News
The Cloudflare Blog
Jina AI
Jina AI
U
Unit 42
L
Lohrmann on Cybersecurity
Attack and Defense Labs
Attack and Defense Labs
The Register - Security
The Register - Security
G
Google Developers Blog
量子位
Simon Willison's Weblog
Simon Willison's Weblog
V
Visual Studio Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
G
GRAHAM CLULEY
TaoSecurity Blog
TaoSecurity Blog

博客园 - BlackAngel2bAssassin

使用SQL SERVER 内部函数进行密码加密和校验小问题 还原MOSS 默认的权限级别 破译moss 2007 中的权限提升功能 后台代码中使用Post 进行跳转 在自定义HttpHandler 中使用Session asp.net 1.1 用户控件的第二种重用 一个DataGrid 的CheckBoxColumn (转贴)实现带有数据绑定的客户端脚本控制的二级联动菜单 (转贴)使用Repeater实现自定义多列数据绑定 - BlackAngel2bAssassin - 博客园 (转贴)使用PagedDataSource给Repeater、DataList增加分页 (转贴)给Repeater、Datalist和Datagrid增加自动编号列 (转贴)如何取得DataGrid绑定列和模板列中的值 重新理解.net remoting SPS 中修改用户密码的WebPart 工程 FireBird 的使用点滴(一) 使用Webpart包装ActiveX组件 制作用户修改密码Webpart 的简短步骤 一个忘却了的SharePoint 的Bug 抽取word、excel、pdf等文件[转载]
FireBird 点滴之JDBC连接字串
BlackAngel2bAssassin · 2005-09-26 · via 博客园 - BlackAngel2bAssassin

又开始研究FireBird  了,使用.netBeans 将FireBird 的驱动程序载入,然后就是创建连接方法。
开始按照通常的方法连接字串是 jdbc:firebirdsql:local:x:/database/myTest.fdb ,可是经过一轮查找后竟然出现不能使用连接的异常。之后又重新试了jdbc:firebirdsql:locahostl:x:/database/myTest.fdb|、jdbc:firebirdsql:127.0.0.1:x:/database/myTest.fdb 都是出现同样的错误。没办法,惟有打开IBExpert 的FireBird 管理工具,连接上数据库,然后对连接进行连接测试。使用TCP/IP 方式,然后端口选择3050 然后"Test" 。出现“Test pass”的字样。表示数据库连接成功。之后再重新进入netBeans 在FireBird 的JDBC 驱动上创建连接方法。这次使用jdbc:firebirdsql:localhost:3050:x:/database/myTest.fdb 加端口号的方式进行创建。......经过一段十分而且无奈的等待始终还是没有找到连接。真是奇怪死了!经过一翻查找,终于发现FireBird 的连接字串竟然是
jdbc:firebirdsql:localhost/3050:x:/database/myTest.fdb,端口和host 之间竟然是用“/”而不是用“:”真是让它搞死。不过经过一翻折腾后还好,终于给连上了。下面给出FireBird 的连接字串方式。有可能会因为使用的FireBird 类型不同而不同或使用的IDE不同而有些差别,具体是不是这样还有待查究,不过现在姑且这样说着。
驱动:
org.firebirdsql.jdbc.FBDriver连接字串:
jdbc:firebirdsql:localhost/3050:x:/database/employee.fdb
jdbc:firebirdsql:native:localhost/3050:x:/database/employee.fdb
jdbc:firebirdsql:local:x:/database/employee.fdb
jdbc:firebirdsql:embedded:x:/database/employee.fdb

可以参考 FireBirdJDBC 中的example\DriverExample.java

posted on 2005-09-26 23:10  BlackAngel2bAssassin  阅读(2635)  评论()    收藏  举报