Skip to content

Commit

Permalink
FIx bug properly
Browse files Browse the repository at this point in the history
  • Loading branch information
namnx228 committed May 17, 2021
1 parent 3d71300 commit 7ab7252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/runmariadb
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ if [ ! -f "$MARIADB_CERT_FILE" ] && [ -f "$MARIADB_KEY_FILE" ] ; then
fi

ln -sf /proc/self/fd/1 /var/log/mariadb/mariadb.log
rm -f /usr/bin/mysqld_safe_helper # Avoid this script being used which results in a permission denied error.

if [ ! -d "${DATADIR}/mysql" ]; then
crudini --set "$MARIADB_CONF_FILE" mysqld max_connections 64
crudini --set "$MARIADB_CONF_FILE" mysqld max_heap_table_size 1M
crudini --set "$MARIADB_CONF_FILE" mysqld innodb_buffer_pool_size 5M
crudini --set "$MARIADB_CONF_FILE" mysqld innodb_log_buffer_size 512K
crudini --set "$MARIADB_CONF_FILE" mysqld user root

# Config MariaDB to enable TLS
if [ -f "$MARIADB_CERT_FILE" ]
Expand Down

0 comments on commit 7ab7252

Please sign in to comment.