summaryrefslogtreecommitdiffstats
path: root/db_wizard/db.wiz
diff options
context:
space:
mode:
Diffstat (limited to 'db_wizard/db.wiz')
-rw-r--r--db_wizard/db.wiz601
1 files changed, 601 insertions, 0 deletions
diff --git a/db_wizard/db.wiz b/db_wizard/db.wiz
new file mode 100644
index 00000000..e5635f11
--- /dev/null
+++ b/db_wizard/db.wiz
@@ -0,0 +1,601 @@
+<?xml version="1.0"?>
+
+
+<Wizard
+ name="general"
+ libScript="__WIZ_HOME__/common/scripts/functions.sh"
+ wizardTitle="MySQL Database wizard"
+ imagePosition="top"
+ defaultImage="__WIZ_HOME__/images/SQL.jpg"
+ height="400"
+ width="525"
+ hasDb="false"
+ dbPositions="0"
+ referenceLength="425"
+ referenceHeight="13"
+>
+
+ <Variable
+ name="root_passwd"
+ shellVariable="root_passwd"
+ valueIsTranslated="false"
+ persistent="false"
+ >
+ </Variable>
+
+ <Variable
+ name="username"
+ shellVariable="username"
+ valueIsTranslated="false"
+ persistent="false"
+ >
+ </Variable>
+
+ <Variable
+ name="password"
+ shellVariable="password"
+ valueIsTranslated="false"
+ persistent="false"
+ >
+ </Variable>
+
+
+ <Page
+ name="welcome"
+ jumpScript="__WIZ_HOME__/common/scripts/check.sh root wiz_ip_net"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Target
+ targetName="must be root"
+ jumpIndex="1"
+ >
+ </Target>
+
+ <Target
+ targetName="root password"
+ jumpIndex="0"
+ >
+ </Target>
+
+ <Target
+ targetName="error_need_net"
+ jumpIndex="2"
+ >
+ </Target>
+
+ <Info
+ name="info1"
+ alignement="Center"
+ helpText="MySQL Database Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+ <Info
+ name="info30"
+ alignement="Center"
+ helpText="Configuration Wizard"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info2"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info3"
+ alignement="Center"
+ helpText="This wizard will help you configuring"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info4"
+ alignement="Center"
+ helpText="the MySQL Database Server for your network."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ name="must be root"
+ nextButtonText="OK"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="info"
+ alignement="Center"
+ helpText="Sorry, you must be root to do this..."
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ name="error_need_net"
+ subWizard="__WIZ_HOME__/server_wizard/server.wiz"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="false"
+ canCancel="true"
+ >
+
+ <Info
+ name="errorLabel"
+ alignement="Center"
+ helpText="Network not configured yet"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info23"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info22"
+ alignement="Center"
+ helpText="You have to configure the basic network parameters before launch this wizard."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info25"
+ alignement="Center"
+ helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info26"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info24"
+ alignement="Center"
+ helpText="If you choose to configure now, you will automatically continue"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info27"
+ alignement="Center"
+ helpText="with the MySQL Database configuration"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ name="server launcher"
+ jumpPage="root password"
+ executionLevel="DEBUG"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+ </Page>
+
+ <Page
+ name="root password"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="DBTitle"
+ alignement="Center"
+ helpText="Database Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info6"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info7"
+ alignement="East"
+ helpText="To run your server, you first need to specify a root password"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info10"
+ alignement="East"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info5"
+ alignement="East"
+ helpText="Please type a password for the root user:"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info21"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Freetext
+ name="root_passwd"
+ variableName="root_passwd"
+ alignement="East"
+ guiType="textfield"
+ inputType="any"
+ editable="true"
+ fontStyle="plain"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Info
+ name="info8"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ name="confirmation"
+ jumpScript="__WIZ_HOME__/db_wizard/scripts/root_passwd.sh"
+ jumpPage="adduser"
+ nextButtonText="Confirm"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ name="confirmationTitle"
+ alignement="Center"
+ helpText="Configuring the MySQL Database Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info13"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info14"
+ alignement="East"
+ helpText="The wizard collected the following parameter"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info15"
+ alignement="East"
+ helpText="needed to configure your MySQL Database Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info16"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Freetext
+ name="freetext1"
+ alignement="Fill"
+ variableName="root_passwd"
+ helpText="Root Password:"
+ guiType="textfield"
+ inputType="any"
+ editable="false"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Info
+ name="info17"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info18"
+ alignement="East"
+ helpText="To accept this value, and configure your server, click on"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info19"
+ alignement="East"
+ helpText="\qConfirm\q or use the Back button to correct them."
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+
+ <Page
+ name="adduser"
+ nextButtonText="Add"
+ jumpScript="__WIZ_HOME__/db_wizard/scripts/add_user.sh"
+ jumpPage="congratulations"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="false"
+ canCancel="true"
+ >
+
+ <Info
+ name="info26"
+ alignement="Center"
+ helpText="User addition"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info28"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info29"
+ alignement="Center"
+ helpText="Please enter a username and password to add a user"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info39"
+ alignement="Center"
+ guiType="label"
+ helpText="Note: This user will have all permissions"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info40"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Freetext
+ name="username"
+ variableName="username"
+ alignement="East"
+ helpText="Username:"
+ guiType="textfield"
+ inputType="any"
+ editable="true"
+ fontStyle="plain"
+ fontSize="11"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+
+ <Freetext
+ name="password"
+ variableName="password"
+ helpText="Password:"
+ alignement="East"
+ guiType="textfield"
+ inputType="any"
+ editable="true"
+ fontStyle="plain"
+ fontSize="11"
+ fontName="Default"
+ proportional="2"
+ ratio="30"
+ length="40"
+ >
+ </Freetext>
+ </Page>
+
+ <Page
+ name="congratulations"
+ nextButtonText="Quit"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="false"
+ canCancel="false"
+ >
+
+ <Info
+ name="info23"
+ alignement="Center"
+ helpText="Congratulations"
+ guiType="label"
+ fontName="Default"
+ fontStyle="bold"
+ fontSize="14"
+ >
+ </Info>
+
+ <Info
+ name="info20"
+ alignement="Center"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info24"
+ alignement="Center"
+ helpText="The wizard successfully configured your"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+
+ <Info
+ name="info25"
+ alignement="Center"
+ helpText="MySQL Database Server"
+ guiType="label"
+ fontName="Default"
+ fontStyle="plain"
+ fontSize="11"
+ >
+ </Info>
+ </Page>
+</Wizard>