$ vi /usr/share/phpmyadmin/config.inc.php $cfg['Servers'][$i]['controluser'] = 'homestead'; $cfg['Servers'][$i]['controlpass'] = 'secret';
設定する
$ cat /usr/share/phpmyadmin/config.inc.php <?php /* Servers configuration */ $i = 0; /* Server localhost (config:root) [1] */ $i++; $cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['extension'] = 'mysqli'; $cfg['Servers'][$i]['connect_type'] = 'tcp'; $cfg['Servers'][$i]['compress'] = false; $cfg['Servers'][$i]['controluser'] = 'homestead'; $cfg['Servers'][$i]['controlpass'] = 'secret'; $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Servers'][$i]['user'] = 'homestead'; $cfg['Servers'][$i]['password'] = 'secret'; $cfg['Servers'][$i]['AllowRoot'] = true; $cfg['Servers'][$i]['nopassword'] = true; $cfg['Servers'][$i]['AllowNoPassword'] = true; $cfg['Servers'][$i]['AllowNoPasswordRoot'] = true; /* End of servers configuration */ ?>