duandui2803 2009-01-28 15:34
浏览 57
已采纳

phpMyAdmin - Config文件有变化吗?

I have just installed phpMyAdmin on my new Fedora Core 10 dedicated server.

I downloaded the phpMyAdmin-3.1.2-english.tar.gz. I extracted it and placed it in this folder /opt/phpMyAdmin-3.1.2-english and i created a symbolic link in the /var/www/html directory so that I can access it like this: http://www.mydomainname.com/webdb.

When I point my browser to that URL it asks me to login and I can only login using localhost as username and a blank password. So I thought I would change it and follow some web tutorials that suggest to change these lines:

$cfg['Servers'][$i]['auth_type'] = ‘http’; 
$cfg['Servers'][$i]['user'] = ‘USERNAME’;
$cfg['Servers'][$i]['password'] = ‘PASSWORD’;

However, these lines do not even exist in my config.inc.php!!! I have done this install before and I remember these files being there but not with this isntall.

I tried adding those lines and that didn't make a difference.

Has phpMyAdmin changed their config files or have i installed incorrectly??

Thank you for any help!

EDIT

I managed to remove that one and use a "yum install phpMyAdmin" and the config file here works fine! :)

However, I am still unable to access phpMyAdmin using the password and username that I suggest in the config.inc.php. Does this mean that the username and password I suggest is config.inc.php is not in line with the MySQL server username and password?

  • 写回答

1条回答 默认 最新

  • dtbc37573 2009-01-28 16:12
    关注

    Would setting

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

    instead of

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

    help?

    See http://www.un4given.nl/phpMyAdmin/Documentation.html#config for more information.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog