$cfg['Servers'][$i]['host'] = 'localhost'; $cfg['Servers'][$i]['controluser'] = 'DBUsername'; $cfg['Servers'][$i]['controlpass'] = 'DBPassword'; $cfg['Servers'][$i]['extension'] = 'mysqli'; // use the mysqli extension