mysqlをインストールする FC5.6.9
1. yumでmysqlをインストールする
# yum -y install mysql-server
2. mysqlを起動する
# /etc/rc.d/init.d/mysqld start
これで完了w
<< 試してみよう >>
1. mysqlにログインする
デフォルトのパスワードはnullです
# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3 to server version: 5.0.27
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql >
(ログインが成功するとこうなる)
2. データベースの一覧を見てみる
mysql> show databases;
出来ました?
タグ
コメントをかく