diff --git a/ChangeLog b/ChangeLog index 9289d01b9..117a32c0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA + patch #2505255 [privileges] Cleanup, thanks to Virsacer - virsacer + bug #2565948 [core] Changing the connection collation changed the client charset. +- bug #2414056 [auth] AllowNoPasswordRoot error message is too vague 3.1.3.0 (not yet released) + [lang] Turkish update, thanks to Burak Yavuz diff --git a/lang/afrikaans-utf-8.inc.php b/lang/afrikaans-utf-8.inc.php index c6208415e..6c78e3acf 100644 --- a/lang/afrikaans-utf-8.inc.php +++ b/lang/afrikaans-utf-8.inc.php @@ -1473,4 +1473,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/albanian-utf-8.inc.php b/lang/albanian-utf-8.inc.php index ad3e6edbf..443a81efa 100644 --- a/lang/albanian-utf-8.inc.php +++ b/lang/albanian-utf-8.inc.php @@ -1472,4 +1472,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/arabic-utf-8.inc.php b/lang/arabic-utf-8.inc.php index e69277bb7..3a7ebc1a9 100644 --- a/lang/arabic-utf-8.inc.php +++ b/lang/arabic-utf-8.inc.php @@ -1474,4 +1474,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/azerbaijani-utf-8.inc.php b/lang/azerbaijani-utf-8.inc.php index 327c93e99..be250f0a7 100644 --- a/lang/azerbaijani-utf-8.inc.php +++ b/lang/azerbaijani-utf-8.inc.php @@ -1469,4 +1469,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/bangla-utf-8.inc.php b/lang/bangla-utf-8.inc.php index b20cfc217..156ef5104 100644 --- a/lang/bangla-utf-8.inc.php +++ b/lang/bangla-utf-8.inc.php @@ -1448,4 +1448,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/basque-utf-8.inc.php b/lang/basque-utf-8.inc.php index 21585980f..a7cc93332 100644 --- a/lang/basque-utf-8.inc.php +++ b/lang/basque-utf-8.inc.php @@ -1466,4 +1466,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/belarusian_cyrillic-utf-8.inc.php b/lang/belarusian_cyrillic-utf-8.inc.php index d75053119..0fb1e61df 100644 --- a/lang/belarusian_cyrillic-utf-8.inc.php +++ b/lang/belarusian_cyrillic-utf-8.inc.php @@ -1448,4 +1448,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/belarusian_latin-utf-8.inc.php b/lang/belarusian_latin-utf-8.inc.php index b4bd78bb5..7e30727f7 100644 --- a/lang/belarusian_latin-utf-8.inc.php +++ b/lang/belarusian_latin-utf-8.inc.php @@ -1456,4 +1456,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/bosnian-utf-8.inc.php b/lang/bosnian-utf-8.inc.php index c6f8a0fc4..e648a10e7 100644 --- a/lang/bosnian-utf-8.inc.php +++ b/lang/bosnian-utf-8.inc.php @@ -1472,4 +1472,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/brazilian_portuguese-utf-8.inc.php b/lang/brazilian_portuguese-utf-8.inc.php index e8da3aacc..8d44a14af 100644 --- a/lang/brazilian_portuguese-utf-8.inc.php +++ b/lang/brazilian_portuguese-utf-8.inc.php @@ -1446,4 +1446,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/bulgarian-utf-8.inc.php b/lang/bulgarian-utf-8.inc.php index a8ef621e4..5b3e870ed 100644 --- a/lang/bulgarian-utf-8.inc.php +++ b/lang/bulgarian-utf-8.inc.php @@ -1469,4 +1469,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/catalan-utf-8.inc.php b/lang/catalan-utf-8.inc.php index cc98008a8..dec8fd83b 100644 --- a/lang/catalan-utf-8.inc.php +++ b/lang/catalan-utf-8.inc.php @@ -1446,4 +1446,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/chinese_simplified-utf-8.inc.php b/lang/chinese_simplified-utf-8.inc.php index 22cc5f31c..675ab0143 100644 --- a/lang/chinese_simplified-utf-8.inc.php +++ b/lang/chinese_simplified-utf-8.inc.php @@ -1474,4 +1474,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/chinese_traditional-utf-8.inc.php b/lang/chinese_traditional-utf-8.inc.php index d2f17af38..db0737f43 100644 --- a/lang/chinese_traditional-utf-8.inc.php +++ b/lang/chinese_traditional-utf-8.inc.php @@ -1453,4 +1453,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/croatian-utf-8.inc.php b/lang/croatian-utf-8.inc.php index 302408c27..d654afceb 100644 --- a/lang/croatian-utf-8.inc.php +++ b/lang/croatian-utf-8.inc.php @@ -1450,4 +1450,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/czech-utf-8.inc.php b/lang/czech-utf-8.inc.php index 6b3603340..20aad47c2 100644 --- a/lang/czech-utf-8.inc.php +++ b/lang/czech-utf-8.inc.php @@ -1452,4 +1452,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/danish-utf-8.inc.php b/lang/danish-utf-8.inc.php index bef6b9204..92e1c5e76 100644 --- a/lang/danish-utf-8.inc.php +++ b/lang/danish-utf-8.inc.php @@ -1448,4 +1448,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/dutch-utf-8.inc.php b/lang/dutch-utf-8.inc.php index ae2a45ff5..2e1c0e974 100644 --- a/lang/dutch-utf-8.inc.php +++ b/lang/dutch-utf-8.inc.php @@ -1454,4 +1454,5 @@ $strSetupServers_verbose_desc = 'Een gebruiksvriendelijke naam voor deze server. $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/english-utf-8.inc.php b/lang/english-utf-8.inc.php index 844730ae2..8b489049e 100644 --- a/lang/english-utf-8.inc.php +++ b/lang/english-utf-8.inc.php @@ -721,6 +721,7 @@ $strRevokeAndDelete = 'Revoke all active privileges from the users and delete th $strRevokeMessage = 'You have revoked the privileges for %s'; $strRevoke = 'Revoke'; $strRomanian = 'Romanian'; +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; $strRoutineReturnType = 'Return type'; $strRoutines = 'Routines'; $strRowLength = 'Row length'; diff --git a/lang/estonian-utf-8.inc.php b/lang/estonian-utf-8.inc.php index 7df6278b0..f7a0baabc 100644 --- a/lang/estonian-utf-8.inc.php +++ b/lang/estonian-utf-8.inc.php @@ -1454,4 +1454,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/finnish-utf-8.inc.php b/lang/finnish-utf-8.inc.php index 33e0d57dc..8f8df8b02 100644 --- a/lang/finnish-utf-8.inc.php +++ b/lang/finnish-utf-8.inc.php @@ -1449,4 +1449,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/french-utf-8.inc.php b/lang/french-utf-8.inc.php index 345c0129e..172661621 100644 --- a/lang/french-utf-8.inc.php +++ b/lang/french-utf-8.inc.php @@ -1445,4 +1445,5 @@ $strYes = 'Oui'; $strZeroRemovesTheLimit = 'Note: Une valeur de 0 (zero) enlève la limite.'; $strZip = '"zippé"'; +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/galician-utf-8.inc.php b/lang/galician-utf-8.inc.php index 15d91d84c..f0af6ba0b 100644 --- a/lang/galician-utf-8.inc.php +++ b/lang/galician-utf-8.inc.php @@ -1447,4 +1447,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/georgian-utf-8.inc.php b/lang/georgian-utf-8.inc.php index 411199aa6..68aa94804 100644 --- a/lang/georgian-utf-8.inc.php +++ b/lang/georgian-utf-8.inc.php @@ -1474,4 +1474,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/german-utf-8.inc.php b/lang/german-utf-8.inc.php index 2c0ec62e0..ab2c13e3c 100644 --- a/lang/german-utf-8.inc.php +++ b/lang/german-utf-8.inc.php @@ -1454,4 +1454,5 @@ $strSetupLoginCookieDeleteAll_desc = 'If TRUE, logout deletes cookies for all se $strSetupLoginCookieStore_desc = 'Define how long (in seconds) a login cookie should be stored in browser. The default of 0 means that it will be kept for the existing session only, and will be deleted as soon as you close the browser window. This is recommended for non-trusted environments.'; //to translate $strSetupServerAuthConfigMsg = 'You set the [kbd]config[/kbd] authentication type and included username and password for auto-login, which is not a desirable option for live hosts. Anyone who knows or guesses your phpMyAdmin URL can directly access your phpMyAdmin panel. Set [a@?page=servers&mode=edit&id=%1$d#tab_Server]authentication type[/a] to [kbd]cookie[/kbd] or [kbd]http[/kbd].'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/greek-utf-8.inc.php b/lang/greek-utf-8.inc.php index 0b9b61be0..09991ab47 100644 --- a/lang/greek-utf-8.inc.php +++ b/lang/greek-utf-8.inc.php @@ -1471,4 +1471,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/hebrew-utf-8.inc.php b/lang/hebrew-utf-8.inc.php index 2c2f47f0d..368ef1ad4 100644 --- a/lang/hebrew-utf-8.inc.php +++ b/lang/hebrew-utf-8.inc.php @@ -1466,4 +1466,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/hindi-utf-8.inc.php b/lang/hindi-utf-8.inc.php index daa8320a4..0308ca26d 100644 --- a/lang/hindi-utf-8.inc.php +++ b/lang/hindi-utf-8.inc.php @@ -1474,4 +1474,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/hungarian-utf-8.inc.php b/lang/hungarian-utf-8.inc.php index 22b0516b8..ea9caa060 100644 --- a/lang/hungarian-utf-8.inc.php +++ b/lang/hungarian-utf-8.inc.php @@ -1451,4 +1451,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/indonesian-utf-8.inc.php b/lang/indonesian-utf-8.inc.php index 8325eab92..8fd52eb69 100644 --- a/lang/indonesian-utf-8.inc.php +++ b/lang/indonesian-utf-8.inc.php @@ -1464,4 +1464,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/italian-utf-8.inc.php b/lang/italian-utf-8.inc.php index 428deb6e2..e28a7724d 100644 --- a/lang/italian-utf-8.inc.php +++ b/lang/italian-utf-8.inc.php @@ -1453,4 +1453,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/japanese-utf-8.inc.php b/lang/japanese-utf-8.inc.php index 5a5f5441d..86600669c 100644 --- a/lang/japanese-utf-8.inc.php +++ b/lang/japanese-utf-8.inc.php @@ -1454,4 +1454,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/korean-utf-8.inc.php b/lang/korean-utf-8.inc.php index 538e0956d..7aa96b8b2 100644 --- a/lang/korean-utf-8.inc.php +++ b/lang/korean-utf-8.inc.php @@ -1469,4 +1469,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/latvian-utf-8.inc.php b/lang/latvian-utf-8.inc.php index 45f2d1db4..cd6010134 100644 --- a/lang/latvian-utf-8.inc.php +++ b/lang/latvian-utf-8.inc.php @@ -1471,4 +1471,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/lithuanian-utf-8.inc.php b/lang/lithuanian-utf-8.inc.php index 0c23368aa..291ef9e35 100644 --- a/lang/lithuanian-utf-8.inc.php +++ b/lang/lithuanian-utf-8.inc.php @@ -1464,4 +1464,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/macedonian_cyrillic-utf-8.inc.php b/lang/macedonian_cyrillic-utf-8.inc.php index e981e7725..553cb53f8 100644 --- a/lang/macedonian_cyrillic-utf-8.inc.php +++ b/lang/macedonian_cyrillic-utf-8.inc.php @@ -1449,4 +1449,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/malay-utf-8.inc.php b/lang/malay-utf-8.inc.php index a84025e85..9f08bb1fc 100644 --- a/lang/malay-utf-8.inc.php +++ b/lang/malay-utf-8.inc.php @@ -1486,4 +1486,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/mongolian-utf-8.inc.php b/lang/mongolian-utf-8.inc.php index 5bfde405e..3176d25a2 100644 --- a/lang/mongolian-utf-8.inc.php +++ b/lang/mongolian-utf-8.inc.php @@ -1469,4 +1469,5 @@ $strWebServer = 'Web server'; //to translate $strWiki = 'Wiki'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/norwegian-utf-8.inc.php b/lang/norwegian-utf-8.inc.php index 361dcb96f..316ff545e 100644 --- a/lang/norwegian-utf-8.inc.php +++ b/lang/norwegian-utf-8.inc.php @@ -1446,4 +1446,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/persian-utf-8.inc.php b/lang/persian-utf-8.inc.php index f35fb8643..9452068be 100644 --- a/lang/persian-utf-8.inc.php +++ b/lang/persian-utf-8.inc.php @@ -1500,4 +1500,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/polish-utf-8.inc.php b/lang/polish-utf-8.inc.php index e4238a54c..c1cf962d0 100644 --- a/lang/polish-utf-8.inc.php +++ b/lang/polish-utf-8.inc.php @@ -1442,4 +1442,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/portuguese-utf-8.inc.php b/lang/portuguese-utf-8.inc.php index 1cb591615..c53a693e9 100644 --- a/lang/portuguese-utf-8.inc.php +++ b/lang/portuguese-utf-8.inc.php @@ -1475,4 +1475,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/romanian-utf-8.inc.php b/lang/romanian-utf-8.inc.php index 38d6d1248..bff257196 100644 --- a/lang/romanian-utf-8.inc.php +++ b/lang/romanian-utf-8.inc.php @@ -1450,4 +1450,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/russian-utf-8.inc.php b/lang/russian-utf-8.inc.php index 68e746361..0685db95b 100644 --- a/lang/russian-utf-8.inc.php +++ b/lang/russian-utf-8.inc.php @@ -1459,4 +1459,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/serbian_cyrillic-utf-8.inc.php b/lang/serbian_cyrillic-utf-8.inc.php index db2679477..ea343aab1 100644 --- a/lang/serbian_cyrillic-utf-8.inc.php +++ b/lang/serbian_cyrillic-utf-8.inc.php @@ -1448,4 +1448,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/serbian_latin-utf-8.inc.php b/lang/serbian_latin-utf-8.inc.php index bf4c50279..a46f83899 100644 --- a/lang/serbian_latin-utf-8.inc.php +++ b/lang/serbian_latin-utf-8.inc.php @@ -1448,4 +1448,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/sinhala-utf-8.inc.php b/lang/sinhala-utf-8.inc.php index 9306f3be5..d90aa51c4 100644 --- a/lang/sinhala-utf-8.inc.php +++ b/lang/sinhala-utf-8.inc.php @@ -1451,4 +1451,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/slovak-utf-8.inc.php b/lang/slovak-utf-8.inc.php index 0123a71f2..6c073f938 100644 --- a/lang/slovak-utf-8.inc.php +++ b/lang/slovak-utf-8.inc.php @@ -1449,4 +1449,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/slovenian-utf-8.inc.php b/lang/slovenian-utf-8.inc.php index 69fd8c606..3d95e06af 100644 --- a/lang/slovenian-utf-8.inc.php +++ b/lang/slovenian-utf-8.inc.php @@ -1468,4 +1468,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/spanish-utf-8.inc.php b/lang/spanish-utf-8.inc.php index 946a56ba4..04e04c53b 100644 --- a/lang/spanish-utf-8.inc.php +++ b/lang/spanish-utf-8.inc.php @@ -1444,4 +1444,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/swedish-utf-8.inc.php b/lang/swedish-utf-8.inc.php index b0f5f3f9e..61eb4ee31 100644 --- a/lang/swedish-utf-8.inc.php +++ b/lang/swedish-utf-8.inc.php @@ -1446,4 +1446,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/tatarish-utf-8.inc.php b/lang/tatarish-utf-8.inc.php index 86e57c7a5..2e1a969e3 100644 --- a/lang/tatarish-utf-8.inc.php +++ b/lang/tatarish-utf-8.inc.php @@ -1459,4 +1459,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/thai-utf-8.inc.php b/lang/thai-utf-8.inc.php index 2ac16351f..a57ab5ce6 100644 --- a/lang/thai-utf-8.inc.php +++ b/lang/thai-utf-8.inc.php @@ -1470,4 +1470,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/turkish-utf-8.inc.php b/lang/turkish-utf-8.inc.php index 0970e4964..ae5e75635 100644 --- a/lang/turkish-utf-8.inc.php +++ b/lang/turkish-utf-8.inc.php @@ -1452,4 +1452,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/lang/ukrainian-utf-8.inc.php b/lang/ukrainian-utf-8.inc.php index a007544ac..c99dcf13f 100644 --- a/lang/ukrainian-utf-8.inc.php +++ b/lang/ukrainian-utf-8.inc.php @@ -1468,4 +1468,5 @@ $strCreateUserDatabasePrivileges = 'Grant all privileges on database "%s&qu $strShowBinaryContents = 'Show binary contents'; //to translate $strShowBLOBContents = 'Show BLOB contents'; //to translate $strStatic = 'static'; //to translate +$strRootWithoutPassword = 'Login to root without a password is forbidden by configuration (see AllowNoPasswordRoot)'; //to translate ?> diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 83f49a62a..208a3ad1c 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -654,7 +654,9 @@ function PMA_auth_fails() // Deletes password cookie and displays the login form PMA_removeCookie('pmaPass-' . $GLOBALS['server']); - if (! empty($GLOBALS['allowDeny_forbidden'])) { + if (! empty($GLOBALS['root_without_password_is_forbidden'])) { + $conn_error = $GLOBALS['strRootWithoutPassword']; + } elseif (! empty($GLOBALS['allowDeny_forbidden'])) { $conn_error = $GLOBALS['strAccessDenied']; } elseif (! empty($GLOBALS['no_activity'])) { $conn_error = sprintf($GLOBALS['strNoActivity'], $GLOBALS['cfg']['LoginCookieValidity']); diff --git a/libraries/common.inc.php b/libraries/common.inc.php index 1c2035928..f2b3aa43d 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -884,9 +884,9 @@ if (! defined('PMA_MINIMUM_COMMON')) { // is root without password allowed? if (!$cfg['Server']['AllowNoPasswordRoot'] && $cfg['Server']['user'] == 'root' && $cfg['Server']['password'] == '') { - $allowDeny_forbidden = true; + $root_without_password_is_forbidden = true; PMA_auth_fails(); - unset($allowDeny_forbidden); //Clean up after you! + unset($root_without_password_is_forbidden); //Clean up after you! } // Try to connect MySQL with the control user profile (will be used to