忍者ブログ
バーテン無事卒業しました。当面真面目に家具屋をやります。
[45]  [46]  [44]  [43]  [42]  [41]  [40]  [39]  [38]  [37]  [35
×

[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。

■OpenSIM用MySQLデータベース作成

※スタートメニューから、「MySQL Command Line Client」を起動する。

【MySQL Command Line Client】
  ※rootのパスワード入力すると、以下の画面が表示される。
===================================
Enter password: *********
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.0.67-community-nt MySQL Community Edition (GPL)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>
===================================


1)データベース「opensim」を作成する。

mysql> CREATE DATABASE opensim;

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| opensim            |★追加された
| test               |
+--------------------+
4 rows in set (0.00 sec)

▼12.1.6. CREATE DATABASE 構文
http://dev.mysql.com/doc/refman/5.1/ja/create-database.html


2)ユーザ「opensim@localhost」を作成する。

mysql> CREATE USER opensim@localhost;

▼12.5.1.1. CREATE USER 構文
http://dev.mysql.com/doc/refman/5.1/ja/create-user.html


3)ユーザに「opensim@localhost」にアクセス権限を与える。
GRANT ALL PRIVILEGES ON opensim.* TO opensim@localhost IDENTIFIED BY 'パスワード';

▼12.5.1.3. GRANT 構文
http://dev.mysql.com/doc/refman/5.1/ja/grant.html
 

PR
POST
name
title
mail
URL
comment
pass   Vodafone絵文字 i-mode絵文字 Ezweb絵文字

secret(※管理者へのみの表示となります。)
COMMENT
TRACKBACK
trackbackURL:
カレンダー
04 2024/05 06
S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
最新トラックバック
アクセス解析
バーコード
Copyright © Second Life "~ goin' home furniture ~" All Rights Reserved.
Powered by NinjaBlog Graphics by 写真素材Kun * Material by Gingham * Template by Kaie 忍者ブログ [PR]