Home  >  Article  >  Backend Development  >  phpmyadmin简略设置小记录

phpmyadmin简略设置小记录

WBOY
WBOYOriginal
2016-06-13 12:26:491021browse

phpmyadmin简单设置小记录

小小记录下,使用的的版本是phpMyAdmin-4.4.11开始按照网上配置怎么也搞不定,后来发现是因为没设置端口,网上的人都说不设置端口就是默认端口,坑死我了.

?

修改libraries/config.default.php

?

$cfg['Servers'][$i]['port'] = '3306';

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

一般设置cookie或者config

设置cookie需要输入用户名密码

设置config,会读取下面的mysql用户名和密码后直接登录

$cfg['Servers'][$i]['user'] = '';

$cfg['Servers'][$i]['password'] = '';

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn