ユーザ用ツール

サイト用ツール


serverapps:db:mariadb

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:db:mariadb [2021/05/11 02:33] – ↷ serverapps:mariadb から serverapps:db:mariadb へページを移動しました。 hayashiserverapps:db:mariadb [2024/11/22 06:12] (現在) admin
行 11: 行 11:
 以下を設定 以下を設定
  
-<file ini /usr/local/etc/my.cnf>+<file ini /usr/local/etc/mysql/my.cnf>
 [client] [client]
 default-character-set=utf8 default-character-set=utf8
行 17: 行 17:
 character_set_server = utf8 character_set_server = utf8
 </file> </file>
- +または 
- +<file ini /usr/local/etc/mysql/conf.d/client.cnf> 
 +[client] 
 +default-character-set=utf8 
 +</file> 
 +<file ini /usr/local/etc/mysql/conf.d/server.cnf> 
 +[mysqld] 
 +character_set_server = utf8 
 +</file> 
 +----
 <file ini /etc/rc.conf> <file ini /etc/rc.conf>
 mysql_enable="YES" mysql_enable="YES"
行 66: 行 73:
 にログインできなくなります。 にログインできなくなります。
  
 +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 your root account protected, so you can safely answer 'n'.
 +ルート アカウントはすでに保護されているので、'n' と答えても問題ありません。
  
-You already have a root password set, so you can safely answer 'n'. +Switch to unix_socket authentication [Y/nn 
-すでに root パスワードがセットされているので、「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.1620700400.txt.gz · 最終更新: 2021/05/11 02:33 by hayashi