Internal server error (HTTP Error 500) after installing phpmyadmin on a certain domain

后端 未结 6 1224
感情败类
感情败类 2021-02-04 20:07

I\'m getting internal server error (HTTP Error 500) after installing phpmyadmin on a certain domain.

This is what my config.inc.php file currently reads

6条回答
  •  有刺的猬
    2021-02-04 20:53

    if you want to access the mysql data from your server to your computer

    you need to change

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

    to you server ip address.

    $cfg['Servers'][$i]['host'] = 'your.server.ip.add.here';
    

    update

    $cfg['Servers'][$i]['AllowNoPassword'] = true;
    $cfg['Servers'][$i]['host'] = 'your.server.ip.add.here';
    $cfg['Servers'][$i]['user'] = 'db name here';
    $cfg['Servers'][$i]['password'] = 'db password';
    

    make sure that those fields are properly set up..

提交回复
热议问题