ITeye博客

DB

共 3 篇文章

db2inst1 run db2cc Xlib: connection to ":0.0" refused by server

在Linux中,使用su db2inst1用户登陆后,运行db2cc命令后报错, 错误如下: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified 解决办法如下: 使用在终端中以root身份登陆,运行xhost local:db2inst1,然后再以db2inst1身份登陆后运行db2cc,问题解决

2010-07-28 15:57 · DB · Linux

Uninstalling your DB2 product (Linux and UNIX)

To remove your DB2 product: Optional: Drop all databases. You can drop databases using the Control Center (on Linux platforms only) or the drop database command. Database files remain intact on your file systems when you drop an instance without dropping databases first. Stop the DB2 Administration…

2010-06-22 13:59 · DB · Java · DB2 · Unix · IBM · Linux

DB2 常用命令

显示连接 db2 list applications db2 list applications | grep IP db2 list applications | grep IP | grep keywords 统计个数 db2 list applications | grep IP | grep keywords | wc -l 断开连接 db2 force application all db2 force application ( 122, 55458 )

2010-06-22 10:28 · DB · DB2