MySQLサーバ

From OpenSim

Jump to: navigation, search

Contents

インストール&初期設定

Linux/Unix

MS Windows

......


OpenSim用の設定

Linux/Unix

  • MySQL で OpenSim用データベースを作成し,OpenSimの管理ユーザを登録しておく.
  • 例:データベース名 opensim, OpenSim管理ユーザ openwim_user, OpenSim管理パスワード opensim_pass の場合.
$ mysql -u root -p
Enter password: データベース全体の管理者のパスワード
mysql> create database opensim default character set utf8;
mysql> grant all on opensim.* to opensim_user identified by 'opensim_pass';
mysql> flush privileges;
mysql> exit
  • データベースのデフォルト文字セットを UTF-8 にすればグループ理念などで日本語を表示できるようになる.
  • もし,create database で default character set utf8 を指定し忘れた場合は,/etc/my.cnf を編集して文字コードを utf8 にする
# cat /etc/my.cnf
[mysql]
default-character-set=utf8

[mysqld]
default-character-set=utf8

MS Windows

........





メインページ

Personal tools
About This Wiki