我試圖使用here中的說明在Mac OS X Yosemite上安裝db2 Express-C 10.1,我希望這兩個操作系統之間沒有太大差異。然而,在步驟13中,那就是:如何在Mac OS X Yosemite上安裝db2?
13. Initialize the sample database using this command: db2sampl
我得到這個錯誤:
Attempt to start DB2 instance failed.
SQL30082N Security processing failed with reason "24"
"USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001
'db2sampl' processing complete.
我試圖使用sudo,但我得到了另一個錯誤
Starting the DB2 instance...
Creating database "SAMPLE"...
Attempt to create the database "SAMPLE" failed.
SQL1032N No start database manager command was issued. SQLSTATE=57019
'db2sampl' processing complete.
請幫幫忙!
簡單的網絡搜索顯示:http://lpetr.org/blog/archives/installing-db2-10-1-on-mac-os-x –