diff --git a/install/index.php b/install/index.php index cd741b095..7bb5ddc61 100644 --- a/install/index.php +++ b/install/index.php @@ -414,7 +414,7 @@ if (!file_exists('.lock')) {
- "> + Optional with '[host]:[port]'. Default port: 3306.
In a docker compose install type 'wavelog-db'."); ?>">
@@ -1479,6 +1479,10 @@ if (!file_exists('.lock')) { return; } + if (db_hostname.val() === '%') { + db_hostname.val('localhost'); + } + var originalButtonText = $('#db_connection_test_button').html(); $('#db_connection_test_button').html(' ').prop('disabled', true);