今天給一個安裝了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,否則會報錯