Skip to content

Instantly share code, notes, and snippets.

@iamWing
Last active February 21, 2019 17:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamWing/40f4d234deb6da3eb385fce51b2f52b7 to your computer and use it in GitHub Desktop.
Save iamWing/40f4d234deb6da3eb385fce51b2f52b7 to your computer and use it in GitHub Desktop.
Customised minimal my.cnf file
# This is the custom minimal my.cnf file for MariaDB
# Uncomment these if you wan to use a nonstandard connection to MariaDB
#socket = /tmp/mysql.sock
#port = 3306
# This will be pased to all MariaDB clients
[client]
#password = my_password
# The MariaDb Server
[mysqld]
# Directory where you wan to put your data
datadir = /mnt/websites/db/mysql
# Path to messageFile
lc_messages = en_GB
lc_messages_dir = /usr/local/share/mysql/english
# Log
log-basename = mysqld
general-log
slow_query_log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment