今天给一个安装了db2的虚拟机加了内存,结果启动后就连不上,报如下错误
SQL1639N The database server was unable to perform authentication because
security-related database manager files on the server do not have the required
operating system permissions. SQLSTATE=08001
找了一篇文章https://www.jianshu.com/p/8f4cc56bca45
但是没有解决问题,依然报错
然后又接着找,找到了这个https://www.cnblogs.com/OliverQin/p/5852897.html
按照这个执行后,成功了,注意:执行以上命令前先用db2inst1关闭数据库db2stop,否则会报错