ユーザ用ツール

サイト用ツール


serverapps:db:mariadb

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:db:mariadb [2024/11/22 06:02] – [設定] adminserverapps:db:mariadb [2025/07/28 06:30] (現在) – [設定] hayashi
行 29: 行 29:
 <file ini /etc/rc.conf> <file ini /etc/rc.conf>
 mysql_enable="YES" mysql_enable="YES"
-mysql_limits="NO"           # <-リソース制限をしない +mysql_limits="NO"         # <-リソース制限をしない 
-#mysql_dbdir="path/to/db"   # DBはデフォルトでは/var/db/mysql/に作成されるが変更する場合はここを変更+                            # あると起動しない:2025.07.28 
 +# mysql_dbdir="path/to/db"  # DBはデフォルトでは/var/db/mysql/に作成されるが変更する場合はここを変更
                             # なお、dirを作成してパーミッションをmysql:mysqlにするのを忘れないこと                             # なお、dirを作成してパーミッションをmysql:mysqlにするのを忘れないこと
 </file> </file>
行 73: 行 74:
 にログインできなくなります。 にログインできなくなります。
  
 +Setting the root password or using the unix_socket ensures that nobody
 +can log into the MariaDB root user without the proper authorisation.
 +ルート パスワードを設定するか unix_socket を使用すると、適切な権限がなければ誰も MariaDB ルート ユーザーにログインできなくなります。
  
-You already have a root password set, so you can safely answer 'n'. 
-すでに root パスワードがセットされているので、「n」と回答しても安全です。 
  
 +You already have your root account protected, so you can safely answer 'n'.
 +ルート アカウントはすでに保護されているので、'n' と答えても問題ありません。
 +
 +Switch to unix_socket authentication [Y/n] n
 + ... skipping.
 +
 +You already have your root account protected, so you can safely answer 'n'.
  
 Change the root password? [Y/n] n Change the root password? [Y/n] n
serverapps/db/mariadb.1732255323.txt.gz · 最終更新: by admin