From 5f4741d3e50d7bc7f756af791c13c97a3ff09eaf Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 4 Jun 2015 12:01:47 +0200 Subject: [PATCH] Added ability to customize db, user suffixes on Init --- Site5/Pages/v5/Public/Initialize.aspx | 5 +++-- Site5/Pages/v5/Public/Initialize.aspx.cs | 11 +++++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Site5/Pages/v5/Public/Initialize.aspx b/Site5/Pages/v5/Public/Initialize.aspx index 51e4e1d6..c84cf5a3 100644 --- a/Site5/Pages/v5/Public/Initialize.aspx +++ b/Site5/Pages/v5/Public/Initialize.aspx @@ -193,6 +193,7 @@ if (autoConfigMode) { jsonData.mysqlHostName = $('#TextMysqlServerHost').val(); jsonData.rootPassword = $('#TextMysqlRootPassword').val(); + jsonData.random = $('#<%= this.TextRandomDbLabel.ClientID%>').val(); $.ajax({ type: "POST", @@ -632,8 +633,8 @@

Create the database and users

The Swarmops install sequence can set up the database and users for you, if you provide a root password to the MySQL database server.

(If you don't trust the Swarmops install to do that, that's fine, go to manual account credentials.)

-
Hostname of MySQL database server
Root password for that MySQL server
 
-
 
 
+
Hostname of MySQL database server
Root password for that MySQL server
Random label (suffixed to db, user names)
 
+