문제

When I use phpMyAdmin under tools, it gives me this error Connection for control user as defined in your configuration failed.. I tried some methods like adding $cfg['Servers'][$i]['connect_type'] = 'tcp'; to the config file but it didn't solve the problem.

올바른 솔루션이 없습니다

다른 팁

The disclaimer is that I'm not familiar with XAMPP and how they package phpMyAdmin, but they should have either created a controluser for you or not tried to configure one. It's possible one exists and the password got lost; in theory you should be able to reset the password on the controluser account from within phpMyAdmin.

That being said, unless you plan to use some of the advanced features such as bookmarking or tracking changes, there's rarely a need for a controluser. You can edit your config.inc.php and remove the lines $cfg['Servers'][$i]['controluser'] and $cfg['Servers'][$i]['controlpass']. That should eliminate the error message.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top