スポンサーリンク

Fedora18から19へのアップグレードでトラブル

スポンサーリンク

Fedora19が公開されましたので、例によって当サーバをアップグレードしました。
fedupを実行して2時間程で完了。前回と違い、ほぼ全ての機能が引き継いで動作していました。
ただ一つ、当ブログのみ「表示するスキンが登録されていません。」と表示され、動作しませんでした。
ログを見たところ、どうやらデータベースに接続できていない様子。
Fedora19では、mysqlのかわりにMariaDBが導入されていましたので、そのせいかもと思い、mysqlを引き続き利用するためのcommunity-mysqlに入れ替えてみても同じ。
ログを改めて見ていると、
The server requested authentication method unknown to the client [mysql_old_password]
というのがありました。
もしやと思い調べたところ、最近のバージョンではパスワード形式が古いと認証に失敗するらしい。

mysql -uroot -p(rootのパスワード)
MariaDB [(none)]> use mysql
MariaDB [mysql]> select host,user,password from user;

すると、user=blognplusのpasswordが16桁しかない古い形式でした。ビンゴ!

mysql -u(blognplus用のユーザ名) -p(blognplus用のパスワード)
MariaDB [(none)]> use mysql
MariaDB [mysql]> set password = password(‘(blognplus用のパスワード)’);

これで直りました。ふぅ…

コメント

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny

タイトルとURLをコピーしました