serverapps:db:mysql
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
serverapps:mysql [2018/06/13 13:43] – [設定] hayashi | serverapps:db:mysql [2021/05/11 02:29] – ↷ serverapps:mysql から serverapps:db:mysql へページを移動しました。 hayashi | ||
---|---|---|---|
行 12: | 行 12: | ||
# service mysql-server start | # service mysql-server start | ||
+ | |||
+ | ==== エラーで立ち上がらない ==== | ||
+ | === Can't open and lock privilege tables === | ||
2014.05.22 以下のようなエラーで立ち上がらない\\ | 2014.05.22 以下のようなエラーで立ち上がらない\\ | ||
行 19: | 行 22: | ||
mysql_install_db --datadir=/ | mysql_install_db --datadir=/ | ||
これをやれば動いた | これをやれば動いた | ||
+ | |||
+ | === innodb_system data file '/ | ||
+ | 以下のようなエラーで立ち上がらない\\ | ||
+ | |||
+ | The Auto-extending innodb_system data file '/ | ||
+ | |||
+ | innodb関連の設定変更でデータファイル(ibdataxxx)のサイズが変わっている場合に発生。\\ | ||
+ | ib_logfile#, | ||
+ | |||
+ | ただし、すでにデータが収納されている場合は、先にデータの退避と変更後にimportが必要になりますので**要注意** | ||
+ | |||
+ | |||
===== rootパスワード設定 ===== | ===== rootパスワード設定 ===== | ||
serverapps/db/mysql.txt · 最終更新: 2023/06/26 08:42 by hayashi