内容へ移動
heavyhandの実験室
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
トレース:
mysql:管理:データベース
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== MySql:管理:データベース ====== ===== データベースの作成 ===== <code> create database データベース名 </code> ===== データベースの削除 ===== <code> drop database データベース名 </code> ===== データベースの表示 ===== <code> show databases; </code> <code> mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | test | +--------------------+ 3 rows in set (0.00 sec) </code> ===== データベースのデータベースの選択 ===== <code> use データベース名; </code> ===== 文字コードの確認 ===== <code> show variables like "%char%"; </code> <code> mysql> use test_DB; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A mysql> show variables like "%char%"; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | utf8 | | character_set_connection | utf8 | | character_set_database | utf8 | | character_set_filesystem | binary | | character_set_results | utf8 | | character_set_server | utf8 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.00 sec) </code>
mysql/管理/データベース.txt
· 最終更新: 2015/12/08 01:56 by
dokuroot
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ