diff --git a/ChangeLog b/ChangeLog index cb1b998217..0f72889da2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ phpMyAdmin - ChangeLog 4.7.1 (not yet released) - issue #13132 Always execute tracking queries as controluser - issue #13125 Focus on SQL editor after inserting field name +- issue #13133 Fixed broken links in setup 4.7.0 (2017-03-28) - patch #12233 [Display] Improve message when renaming database to same name diff --git a/doc/config.rst b/doc/config.rst index fc1e7709e8..9a016ce393 100644 --- a/doc/config.rst +++ b/doc/config.rst @@ -3219,6 +3219,7 @@ Developer * There is welcome message on the main page. * There is footer information about demo server and used git revision. * The setup script is enabled even with existing configuration. + * The setup does not try to connect to the MySQL server. .. _config-examples: diff --git a/libraries/config/Validator.php b/libraries/config/Validator.php index 6cef15a890..ff6f666a4d 100644 --- a/libraries/config/Validator.php +++ b/libraries/config/Validator.php @@ -179,6 +179,11 @@ class Validator $pass = null, $error_key = 'Server' ) { + if ($GLOBALS['cfg']['DBG']['demo']) { + // Connection test disabled on the demo server! + return true; + } + // static::testPHPErrorMsg(); $error = null; $host = PMA_sanitizeMySQLHost($host); diff --git a/setup/config.php b/setup/config.php index 8235f965a8..42eecc6920 100644 --- a/setup/config.php +++ b/setup/config.php @@ -46,6 +46,6 @@ if (PMA_ifSetOr($_POST['submit_clear'], '')) { // // Show generated config file in a