[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:52674] Re: phpmyadminに接続出来なくなりました



お世話になります。ホリカワです。

解決したようでなによりです。

-------------------------------------------------------------------
      Akinori Horikawa
-------------------------------------------------------------------


朧月 さんは書きました:
> お世話になってます、朧月です。
> 
> 堀川明徳 wrote (2009/07/21 19:07):
> 
> どもです。解決しました。m(_ _)m
> 
>> ■共通
>> $cfg['Servers'][$i]['host'] = 'localhost';
>> $cfg['Servers'][$i]['connect_type'] = 'tcp';
>>
>> ■ID : passを入力してログインする形の場合(推奨)
>> $cfg['blowfish_secret']="46桁ランダム文字列";
>> $cfg['Servers'][$i]['auth_type'] ="cookies";
>>
>> ■root自動ログイン(非推奨)
>> $cfg['Servers'][$i]['auth_type'] ="config";
>> $cfg['Servers'][$i]['user'] ="root";
>> $cfg['Servers'][$i]['password'] ="rootパスワード";
>>
>> とりあえず、上記設定がconfig.inc.phpにて適切に設定されているかどうか確認
>> ください。
> 
> 今まで/var/www/phpmyadmin(ショートカット)の中のconfig.inc.phpを弄ってい
> たのですが、これは何をやっても無駄でした。ですが、このconfig.inc.phpには
> include文が書いてあり、他のconfig.inc.phpを読み込むようになっているのに
> 今日気づきました。
> 
> それで、phpmyadminフォルダの中のconfigフォルダの中にあるconfig.inc.php
> (ただし、ショートカット)を開き、以下の設定を行いました。
> 
> $cfg['Servers'][$i]['auth_type'] ="config";
>         ↓
> $cfg['Servers'][$i]['auth_type'] ="cookie";
> 
> これで、今まで通りユーザー名を聞いてくれるようになりました。
> 
> ありがとうございました。m(_ _)m
> 
>