phpMyAdmin-无法登录到MySQL服务器

时间:2020-02-23 17:30:52

标签: php mysql phpmyadmin

我尝试了其他问题的许多公认答案,但是它们没有帮助,然后我重新安装了phpMyAdmin。

MySQL版本:8.0.17

phpMyAdmin版本:4.4.15.10

PHP版本:7.0.33

/etc/phpMyAdmin/config.inc.php:

<?php
$cfg['blowfish_secret'] = 'my_blowfish_secret';
$i = 0;
$i++;
$cfg['Servers'][$i]['host']          = 'localhost';
$cfg['Servers'][$i]['port']          = '';
$cfg['Servers'][$i]['socket']        = '';
$cfg['Servers'][$i]['connect_type']  = 'tcp';
$cfg['Servers'][$i]['extension']     = 'mysqli';
$cfg['Servers'][$i]['compress']      = FALSE;
$cfg['Servers'][$i]['controluser']   = '';
$cfg['Servers'][$i]['controlpass']   = '';
$cfg['Servers'][$i]['auth_type']     = 'cookie';
$cfg['Servers'][$i]['user']          = '';
$cfg['Servers'][$i]['password']      = '';
$cfg['Servers'][$i]['only_db']       = '';
$cfg['Servers'][$i]['hide_db']       = '';
$cfg['Servers'][$i]['verbose']       = '';
$cfg['Servers'][$i]['pmadb']         = '';
$cfg['Servers'][$i]['bookmarktable'] = '';
$cfg['Servers'][$i]['relation']      = '';
$cfg['Servers'][$i]['table_info']    = '';
$cfg['Servers'][$i]['table_coords']  = '';
$cfg['Servers'][$i]['pdf_pages']     = '';
$cfg['Servers'][$i]['column_info']   = '';
$cfg['Servers'][$i]['history']       = '';
$cfg['Servers'][$i]['verbose_check'] = TRUE;
$cfg['Servers'][$i]['AllowRoot']     = TRUE;
$cfg['Servers'][$i]['AllowDeny']['order']
                                     = '';
$cfg['Servers'][$i]['AllowDeny']['rules']
                                     = array();
$cfg['Servers'][$i]['AllowNoPassword']
                                     = FALSE;
$cfg['Servers'][$i]['designer_coords']
                                     = '';
$cfg['Servers'][$i]['bs_garbage_threshold']
                                     = 50;
$cfg['Servers'][$i]['bs_repository_threshold']
                                     = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout']
                                     = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold']
                                     = '32M';
$cfg['UploadDir'] = '/var/lib/phpMyAdmin/upload';
$cfg['SaveDir']   = '/var/lib/phpMyAdmin/save';
$cfg['PmaNoRelation_DisableWarning'] = TRUE;
$cfg['VersionCheck'] = FALSE;
?>

0 个答案:

没有答案
相关问题