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.wiz273
1 files changed, 273 insertions, 0 deletions
diff --git a/db_wizard/db.wiz b/db_wizard/db.wiz
new file mode 100644
index 00000000..4c48aec0
--- /dev/null
+++ b/db_wizard/db.wiz
@@ -0,0 +1,273 @@
+<?xml version="1.0"?>
+
+
+<Wizard
+ name="general"
+ libScript="__WIZ_HOME__/common/scripts/functions.sh"
+ wizardTitle="MySQL Database wizard"
+ imagePosition="top"
+ defaultImage="__WIZ_HOME__/db_wizard/images/SQL.png"
+ rpm="MySQL"
+>
+
+ <Variable
+ name="root_passwd"
+ shellVariable="root_passwd"
+ valueIsTranslated="false"
+ >
+ </Variable>
+
+ <Variable
+ name="username"
+ shellVariable="username"
+ valueIsTranslated="false"
+ >
+ </Variable>
+
+ <Variable
+ name="password"
+ shellVariable="password"
+ valueIsTranslated="false"
+ >
+ </Variable>
+
+
+ <Page
+ name="welcome"
+ 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
+ helpText="MySQL Database Server"
+ >
+ </Info>
+ <Info
+ helpText="Configuration Wizard"
+ >
+ </Info>
+
+
+ <Info
+ helpText="This wizard will help you configuring the MySQL Database Server for your network."
+ >
+ </Info>
+ </Page>
+
+ <Page
+ name="must be root"
+ nextButtonText="OK"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="true"
+ canCancel="true"
+ >
+
+ <Info
+ helpText="Sorry, you must be root to do this..."
+ >
+ </Info>
+ </Page>
+
+ <Page
+ name="error_need_net"
+ subWizard="__WIZ_HOME__/server_wizard/server.wiz"
+ executionLevel="NORMAL"
+ nextFinish="false"
+ canBack="false"
+ canCancel="true"
+ >
+
+ <Info
+ helpText="Network not configured yet"
+ >
+ </Info>
+
+
+ <Info
+ helpText="You have to configure the basic network parameters before launching this wizard."
+ >
+ </Info>
+
+ <Info
+ helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
+ >
+ </Info>
+
+
+ <Info
+ helpText="If you choose to configure now, you will automatically continue with the MySQL Database configuration"
+ >
+ </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
+ helpText="Database Server"
+ >
+ </Info>
+
+
+ <Info
+ helpText="To run your server, you first need to specify a root password"
+ >
+ </Info>
+
+
+ <Info
+ helpText="Please type a password for the root user:"
+ >
+ </Info>
+
+
+ <Freetext
+ name="root_passwd"
+ variableName="root_passwd"
+ editable="true"
+ >
+ </Freetext>
+
+ </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
+ helpText="Configuring the MySQL Database Server"
+ >
+ </Info>
+
+
+ <Info
+ helpText="The wizard collected the following parameters
+needed to configure your MySQL Database Server"
+ >
+ </Info>
+
+
+ <Freetext
+ name="freetext1"
+ variableName="root_passwd"
+ helpText="Root Password:"
+ editable="false"
+ >
+ </Freetext>
+
+
+ <Info
+ helpText="To accept this value, and configure your server, click on \qConfirm\q or use the Back button to correct them."
+ >
+ </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
+ helpText="User addition"
+ >
+ </Info>
+
+
+ <Info
+ helpText="Please enter a username and password to add a user"
+ >
+ </Info>
+
+ <Info
+ helpText="Note: This user will have all permissions"
+ >
+ </Info>
+
+
+ <Freetext
+ name="username"
+ variableName="username"
+ helpText="Username:"
+ editable="true"
+ >
+ </Freetext>
+
+ <Freetext
+ name="password"
+ variableName="password"
+ helpText="Password:"
+ editable="true"
+ >
+ </Freetext>
+ </Page>
+
+ <Page
+ name="congratulations"
+ nextButtonText="Quit"
+ executionLevel="NORMAL"
+ nextFinish="true"
+ canBack="false"
+ canCancel="false"
+ >
+
+ <Info
+ helpText="Congratulations"
+ >
+ </Info>
+
+
+ <Info
+ helpText="The wizard successfully configured your MySQL Database Server"
+ >
+ </Info>
+ </Page>
+</Wizard>