XAMPPのphpMyAdminに認証をかける方法です。
(XAMPP:ver 1.7.7)
C:\xampp\phpMyAdminの
config.inc.phpファイルを開きます。
変更するべき場所は、下記の
$cfg[‘Servers’][$i][‘auth_type’] = ‘config‘;
になります。
1 2 3 4 5 6 |
/* Authentication type and info */ $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = ''; $cfg['Servers'][$i]['extension'] = 'mysql'; $cfg['Servers'][$i]['AllowNoPassword'] = true; |
$cfg[‘Servers’][$i][‘auth_type’] = ‘config‘;
を
$cfg[‘Servers’][$i][‘auth_type’] = ‘http‘;
に修正します。
これで認証画面が出ます。
ユーザー名=root
パスワード=無し
でログインできます。
人気記事一覧
- MySQL 最大の値・最新の日付データを1つ抽出する方法(MAX)
- [CakePHP] XformHelperの使い方
- Linux: スワップファイル(swp)の削除方法
- HTMLのForm methodとactionについて
- PHPでカンマ区切りデータを配列に入れる方法 (explode)
- [エラー対処] failed to open stream: No such file or directory
- [vsftp] FileZillaから接続できない場合の対処法
- [CSS]ブロック要素(div)の高さを、内部のfloat要素に合わせて自動調整する
- PHP5.1→PHP5.3へバージョンアップする方法(CentOS)
- PHPでテキストを1行ずつ読み込む方法(file_get_contents,explode)
関連記事一覧
- 楽天API 「apiVersionパラメータが正しくありません。」
- [XAMPP] .htaccess設定
- MySQLを自動で起動させる chkconfig
- [MySQL]rootパスワードの変更方法(忘れた場合の対処)
- phpMyAdminのインスール方法 (CentOS・Linux)
- [CakePHP2]ホームページ(トップページ)を指定する方法
- MySQLにパスを通す
- MySQLでrootのパスワードを設定する
- [Twitter API]You must add your mobile phone to your Twitter profile before creating an application.
- [CakePHP] XformHelperの使い方