Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
srv
/
admin
/
htdocs
/
phpmyadmin-4.4
/
patches
/
//proc/212/root/srv/admin/htdocs/phpmyadmin-4.4/patches/remove_root_with_no_password_warning.patch
--- a/index.php +++ b/index.php @@ -436,25 +436,6 @@ echo '</div>'; /** - * Warning if using the default MySQL privileged account - */ -if ($server != 0 - && $cfg['Server']['user'] == 'root' - && $cfg['Server']['password'] == '' -) { - trigger_error( - __( - 'You are connected as \'root\' with no password, which' - . ' corresponds to the default MySQL privileged account.' - . ' Your MySQL server is running with this default, is open to' - . ' intrusion, and you really should fix this security hole by' - . ' setting a password for user \'root\'.' - ), - E_USER_WARNING - ); -} - -/** * As we try to handle charsets by ourself, mbstring overloads just * break it, see bug 1063821. */