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 opencv图像处理,需要四个处理结果图
  • ¥15 无线移动边缘计算系统中的系统模型
  • ¥15 深度学习中的画图问题
  • ¥15 java报错:使用mybatis plus查询一个只返回一条数据的sql,却报错返回了1000多条
  • ¥15 Python报错怎么解决
  • ¥15 simulink如何调用DLL文件
  • ¥15 关于用pyqt6的项目开发该怎么把前段后端和业务层分离
  • ¥30 线性代数的问题,我真的忘了线代的知识了
  • ¥15 有谁能够把华为matebook e 高通骁龙850刷成安卓系统,或者安装安卓系统
  • ¥188 需要修改一个工具,懂得汇编的人来。