2016-07-06 9 views
0

シャットダウン後にラップトップを起動するたびに、アップロードされた写真に表示されるいくつかの他のエラーで「アクセスが拒否されました」というこの問題を解決するためにXAMPPを再インストールする必要があります。 XAMPPからサーバーを再起動しても何も変更されません。それの背後にある本当の理由は何ですか?それを修正する方法は何ですか?phpmyadminの「アクセス拒否」メッセージを修正するには?

enter image description here

+2

Poss [phpMyAdmin Access denied]の複製が可能です(http://stackoverflow.com/questions/5483518/phpmyadmin-access-denied) – PacMan

答えて

0

GoがCをフォルダに:\ xamppの\ phpMyAdminは、ファイル "config.inc.phpファイルを" があり、このフォルダをint。このファイルをNotepad ++またはSublime Textまたはテキストエディタで開きます。

このコードの下にこれらの2つのコードを追加します。

$cfg['Servers'][$i]['connect_type'] = 'tcp'; 
$cfg['Servers'][$i]['compress'] = false; 

あなたのXAMPPを再起動し、それが

鉱山のXAMPPの設定コードは以下の通りです動作します:

$cfg['Servers'][$i]['auth_type'] = 'cookie'; 

は、以下のコードを追加します。

<?php 

/* Servers configuration */ 
$i = 0; 

$cfg['blowfish_secret'] = 'a8b7c6d'; //What you want 

/* Server: localhost [1] */ 
$i++; 
$cfg['Servers'][$i]['verbose'] = 'Local Databases'; 
$cfg['Servers'][$i]['host'] = '127.0.0.1'; 
$cfg['Servers'][$i]['extension'] = 'mysqli'; 
$cfg['Servers'][$i]['auth_type'] = 'cookie'; 
$cfg['Servers'][$i]['host'] = 'localhost'; 
$cfg['Servers'][$i]['connect_type'] = 'tcp'; 
$cfg['Servers'][$i]['compress'] = false; 
$cfg['Servers'][$i]['user'] = 'root'; 
$cfg['Servers'][$i]['password'] = ''; 

// Hidden databases in PhpMyAdmin left panel 
//$cfg['Servers'][$i]['hide_db'] = '(information_schema|mysql|performance_schema|sys)'; 

// Allow connection without password 
$cfg['Servers'][$i]['AllowNoPassword'] = true; 

// Suppress Warning about pmadb tables 
$cfg['PmaNoRelation_DisableWarning'] = true; 

// To have PRIMARY & INDEX in table structure export 
//$cfg['Export']['sql_drop_table'] = true; 
//$cfg['Export']['sql_if_not_exists'] = true; 

$cfg['MySQLManualBase'] = 'http://dev.mysql.com/doc/refman/5.7/en/'; 
/* End of servers configuration */ 

?> 
関連する問題