打开datastudio 右键本地数据库服务器 →注册服务器打开以下界面:

aqua data studio 连接db2

1:选择版本号(我这里是window 9.7版本的db2)

2:名称 按照需要的写

3.登录名/密码

4.ip port 数据库名称