<?php
$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice
$i=0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
?>
[color=red][size=large]Or[/size][/color], if you prefer to not be prompted every time you log in:
<?php
$i=0;
$i++;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'cbb74bc'; // use here your password
?>
需要增加:
$cfg['Servers'][1]['user'] = 'root';
$cfg['Servers'][1]['password'] = 'roc123';
$cfg['blowfish_secret'] = 'ba17c1ec07d65003'; // use here a value of your choice
$i=0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
?>
[color=red][size=large]Or[/size][/color], if you prefer to not be prompted every time you log in:
<?php
$i=0;
$i++;
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'cbb74bc'; // use here your password
?>
需要增加:
$cfg['Servers'][1]['user'] = 'root';
$cfg['Servers'][1]['password'] = 'roc123';
本文提供了PHPMyAdmin中服务器配置的具体示例,包括通过cookie认证登录的方式及直接指定用户名和密码的方法。为了演示,文中给出了具体的代码实现。
946

被折叠的 条评论
为什么被折叠?



