2016-10-17 6 views
0
私はrootユーザーと、それは私にこのエラー与え、正しいパスワードでログインしたときに、私は具体的には、phpMyAdminのにログインすると問題が生じています

は、MySQLサーバ(XAMPP)にログインできない

Cannot log in to the MySQL server 

パスワードなしで 'pma'ユーザーを使用してログインしますが、明示的に使用する必要があるアクセス許可はありません。私はこれが1045エラーであると確信しています。ここで

はconfig.inc.phpファイルの私の設定です:

/* Authentication type and info */ 
$cfg['Servers'][$i]['auth_type'] = 'cookie'; 
$cfg['Servers'][$i]['user'] = 'root'; 
$cfg['Servers'][$i]['password'] = 'sutdenlol'; 
$cfg['Servers'][$i]['extension'] = 'mysqli'; 
$cfg['Servers'][$i]['AllowNoPassword'] = true; 
$cfg['Lang'] = ''; 

/* Bind to the localhost ipv4 address and tcp */ 
$cfg['Servers'][$i]['host'] = 'localhost'; 
$cfg['Servers'][$i]['connect_type'] = 'tcp'; 

/* User for advanced features */ 
$cfg['Servers'][$i]['controluser'] = 'pma'; 
$cfg['Servers'][$i]['controlpass'] = ''; 

あなたはより多くの情報が必要な場合は代わりにダウン投票を私に教えてください。

編集: PHPスクリプトは、正しいパスワードを使用してrootでサーバーにアクセスできます。

+0

ちょっとしたバンプ – Allosaurus

答えて

0

$cfg['Servers'][$i]['host'] = '127.0.0.1'; 

$cfg['Servers'][$i]['host'] = 'localhost';

を変更すると、あなたのマシン上でMySQLサーバがインストールされているかチェックしてみてください。ここからダウンロードできます - https://dev.mysql.com/downloads/

関連する問題