diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2019-05-06 18:07:40 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2019-05-06 18:07:40 +0200 |
commit | 633946fb63f6957b49554ce6f6d33862951d810e (patch) | |
tree | 75c9cc603540057d7e59df67ed26bb2893e07b97 /support-files | |
parent | 54d0a55adf6fbfc92c5473bbcad2b459f14ef038 (diff) | |
parent | 0573744a83ad89958c4e48a9299cd9274db1b355 (diff) | |
download | mariadb-git-633946fb63f6957b49554ce6f6d33862951d810e.tar.gz |
Merge branch '10.1' into 10.2
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/rpm/server-postin.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support-files/rpm/server-postin.sh b/support-files/rpm/server-postin.sh index 57db9fd5d90..0a5bac73f0b 100644 --- a/support-files/rpm/server-postin.sh +++ b/support-files/rpm/server-postin.sh @@ -53,6 +53,9 @@ if [ $1 = 1 ] ; then chown -R %{mysqld_user}:%{mysqld_group} $datadir if [ ! -e $datadir/mysql ]; then + # Create data directory + mkdir -p $datadir + # Initiate databases %{_bindir}/mysql_install_db --rpm --user=%{mysqld_user} fi |