Auto-login phpMyAdmin

前端 未结 6 2341
旧巷少年郎
旧巷少年郎 2020-12-29 03:31

We want to auto login users in phpMyAdmin. Now we have a web-interface, written in PHP. Users can login. After logging in, they can click on the SQL link in the

6条回答
  •  悲哀的现实
    2020-12-29 03:35

    Add code in config.inc.php below of /* Authentication type */. It exists in the root folder

    $cfg['Servers'][$i]['auth_type'] = 'config';
    $cfg['Servers'][$i]['user'] = 'root';
    $cfg['Servers'][$i]['password'] = ''; 
    

提交回复
热议问题