summarylogtreecommitdiffstats
path: root/mariadb.install
diff options
context:
space:
mode:
Diffstat (limited to 'mariadb.install')
-rw-r--r--mariadb.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/mariadb.install b/mariadb.install
new file mode 100644
index 000000000000..c1cbf9259d39
--- /dev/null
+++ b/mariadb.install
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+post_install(){
+
+ echo ":: You need to initialize the MariaDB data directory prior to starting"
+ echo " the service. This can be done with mysql_install_db command, e.g.:"
+ echo " mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql"
+
+}
+
+