Skip to content
Snippets Groups Projects
Commit 5ba649d8 authored by Bob Mottram's avatar Bob Mottram
Browse files

Add mariadb socket

parent ea559320
No related branches found
No related tags found
No related merge requests found
......@@ -162,6 +162,13 @@ function install_mariadb {
exit 34672
fi
if [ ! -f /etc/mysql/conf.d/my.cnf ]; then
echo $'/etc/mysql/conf.d/my.cnf not found'
exit 6376245
fi
echo 'socket = /var/run/mysqld/mysqld.sock' >> /etc/mysql/conf.d/my.cnf
systemctl restart mysql
mysqladmin -u root password "$MARIADB_PASSWORD"
mark_completed $FUNCNAME
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment