3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-20 00:05:04 +00:00
This commit is contained in:
Jonathan 2020-10-05 14:32:03 +00:00
parent 3906d58ad6
commit ec7bf9b446
5 changed files with 4 additions and 41 deletions

2
.gitpod.Dockerfile vendored
View file

@ -11,7 +11,7 @@ RUN apt-get update \
RUN ls /etc/mysql/mysql.conf.d/ RUN ls /etc/mysql/mysql.conf.d/
# Install our own MySQL config # Install our own MySQL config
COPY mysql.cnf /etc/mysql/mysql.conf.d/mysqld.cnf COPY mysql.cnf /etc/mysql/my.cnf
# Install default-login for MySQL clients # Install default-login for MySQL clients
COPY client.cnf /etc/mysql/mysql.conf.d/client.cnf COPY client.cnf /etc/mysql/mysql.conf.d/client.cnf

View file

@ -1,17 +0,0 @@
#!/bin/bash
# this script is intended to be called from .bashrc
# This is a workaround for not having something like supervisord
if [ ! -e /var/run/mariadb/gitpod-init.lock ]
then
touch /var/run/mariadb/gitpod-init.lock
# initialize database structures on disk, if needed
[ ! -d /workspace/mariadb ] && mariadb --initialize-insecure
# launch database, if not running
[ ! -e /var/run/mariadb/mariadb.pid ] && mariadb --daemonize
rm /var/run/mariadb/gitpod-init.lock
fi

View file

@ -1,10 +0,0 @@
[client]
host = localhost
user = root
password =
socket = /var/run/mariadb/mariadb.sock
[mariadb_upgrade]
host = localhost
user = root
password =
socket = /var/run/mariadb/mariadb.sock

View file

@ -2,9 +2,9 @@
host = localhost host = localhost
user = root user = root
password = password =
socket = /var/run/mariadb/mariadb.sock socket = /var/run/mysqld/mysqld.sock
[mariadb_upgrade] [mysql_upgrade]
host = localhost host = localhost
user = root user = root
password = password =
socket = /var/run/mariadb/mariadb.sock socket = /var/run/mysqld/mysqld.sock

View file

@ -1,10 +0,0 @@
[client]
host = localhost
user = root
password =
socket = /var/run/mariadb/mariadb.sock
[mariadb_upgrade]
host = localhost
user = root
password =
socket = /var/run/mariadb/mariadb.sock