Linux MySQL5.6 初期設定 ・環境 OS : CentOS6.3 64bit ・インストールするMySQLのバージョン MySQL5.6.1 [初期設定編] 1 ,グループの作成 sudo groupadd mysql 2, ユーザーの作成 sudo useradd -r -g mysql mysql 3, パスを通しておく 3-1の場合 : 全体 3-2の場合 : ユーザーのみ 3-1 : 全体 3-1-1, 以下のコマンドでファイルを開く sudo vim /etc/profile 3-1-2, 一番最後の行に以下の文字列を追加 export PATH=$PATH:/usr/local/mysql/bin 3-1-3, 以下のコマンドを入力 source /etc/profile 3-2, ユーザーのみ 3-2-1 , ホームディレクトリに移動 cd 3-2-2, 以下
![【MySQL】MySQLの初期設定 - tekitoizmの防備録 やりなおしのしーずん3](https://cdn-ak-scissors.b.st-hatena.com/image/square/2e1b7ca54220320ef7b5fe3f5fc1eb0b0e7b3f4b/height=288;version=1;width=512/http%3A%2F%2Fecx.images-amazon.com%2Fimages%2FI%2F51lpfeSexJL.jpg)