今天第一次安裝 MySQL 5.5.9 結果中頭獎了 , 當在做 [MySQL Instance Configuration] 要 [Apply security settings] 時遇到 :

Error Nr. 1364
Field 'authentication_string' doesn't have a default value
If a personal firewall is running on your machine, please make sure you have opened the TCP port 3306 for connections. Otherwise no client application can connect to the server. After you have opened the port please press [Retry] to apply the security settings.
If you are re-installing after you just uninstalled the MySQL server please note that the data directory was not removed automatically. Therefore the old password from your last installation is still needed to connect to the server. In this case please select skip now and re-run the Configuration Wizard from the start menu.

 

 

error1364

拜了一下 Google 大神 , 發現 MySQL 5.5.8 也會有相同的問題 , 但是已有解決辦法 , 有的說不要勾 [Enable root access from remote machines] 可以解 , 也有說不要勾 [Enable Strict Mode] 可以解 , 不過對 MySQL 5.5.9 都無效 ! 更慘的是沒有人報過 MySQL 5.5.9 有這個問題 , 難道我是第一隻白老鼠嗎 ?? 搞不好可以申請世界記錄 !! 官方文件說這是一個 Bug , 5.5.8 就有這個 Bug 到了 5.5.9 還在 , 為什麼不解掉呢 ?? 解不掉嗎 ?? 有這麼難嗎 ??

試了幾種不同的設定組合都無法解決這個問題 , 最後土法煉鋼了一個安裝程序是 OK 的 , 只是不知會不會有後遺症 ?? 請參考 : [MySQL 5.5.9 安裝及設定]

 

arrow
arrow
    全站熱搜

    Jump 發表在 痞客邦 留言(0) 人氣()