270e40c64f
Adds elements which allow installing mariadb from RDO repository. It's similar to mariadb element but different repo with different package names are used (also some installation steps might be removed in future). Common code for mariadb and mariadb-rdo is now in mariadb-common element. Change-Id: I8566b03a24fff7984f323442d93249e1002a6ebe
11 lines
352 B
Bash
Executable File
11 lines
352 B
Bash
Executable File
#!/bin/bash
|
|
set -eu
|
|
|
|
# mariadb clients (from mariadb.org) expect the socket at
|
|
# /var/lib/mysql/mysql.sock
|
|
#
|
|
# mysql server is started from 51-init-openstack (reset-db script) - we need to
|
|
# create symlink to make sure reset-db will not fail
|
|
[ -d /var/lib/mysql ] || mkdir -p /var/lib/mysql
|
|
ln -sf /var/run/mysqld/mysqld.sock /var/lib/mysql/mysql.sock
|