1

管理者のphpを起動するdev01.dev/phpmyadminと、//dev01.devは私のローカルホストです

次のエラーが発生します。

Welcome to phpMyAdmin

Error

MySQL said: Documentation
#2002 - No such file or directory
The server is not responding (or the local server's socket is not correctly configured).
Connection for controluser as defined in your configuration failed.
Retry to connect

設定ファイルを編集しました。phpmyadmin を再度インストールしましたが、同じエラーが発生しました。

/etc/phpmyadmin/config.inc.php は以下の通りです:

/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
/* Server parameters */
//$cfg['Servers'][$i]['host'] = 'localhost';
//$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

/*
 * phpMyAdmin configuration storage settings.
 */

/* User used to manipulate with storage */
// $cfg['Servers'][$i]['controlhost'] = '';
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = '';

/* Storage database and tables */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma__bookmark';
$cfg['Servers'][$i]['relation'] = 'pma__relation';
$cfg['Servers'][$i]['table_info'] = 'pma__table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma__table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma__pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma__column_info';
$cfg['Servers'][$i]['history'] = 'pma__history';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma__table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma__tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma__designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma__userconfig';
$cfg['Servers'][$i]['recent'] = 'pma__recent';

遅れとは?

4

2 に答える 2

3

// 認証方法 (構成、http、または Cookie ベース)

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

構成をhttpに変更して試してみてください..&サーバーパラメータのコマンドを解除します

于 2013-10-31T06:31:15.013 に答える
1

すでに解決されていることは承知していますが、今後の検索のために、これを最初に確認します。

MySQL サーバーが実行されていることを確認しますか? コマンド ライン クライアント経由で接続することをお勧めします。何かのようなもの

mysql -u root -p
于 2013-11-01T16:05:06.473 に答える