From: Frank Brehm Date: Thu, 23 Mar 2017 02:10:01 +0000 (+0100) Subject: daily autocommit X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b0d00fe8874426cdfcb6e371e91fcfcaeed69cd5;p=config%2Fberta%2Fetc.git daily autocommit --- diff --git a/mysql/my.cnf b/mysql/my.cnf index 2be148f..f937afb 100644 --- a/mysql/my.cnf +++ b/mysql/my.cnf @@ -9,6 +9,7 @@ socket = /var/run/mysqld/mysqld.sock [mysql] character-sets-dir=/usr/share/mysql/charsets default-character-set=utf8 +prompt=MySQL \u@\h:\d >\_ [mysqladmin] character-sets-dir=/usr/share/mysql/charsets @@ -63,10 +64,12 @@ lc_messages_dir = /usr/share/mysql #Set this to your desired error message language lc_messages = en_US +log_bin_trust_function_creators = 1 + # security: # using "localhost" in connects uses sockets by default # skip-networking -bind-address = 127.0.0.1 +#bind-address = 127.0.0.1 log-bin server-id = 1 diff --git a/systemd/system/multi-user.target.wants/mariadb.service b/systemd/system/multi-user.target.wants/mariadb.service new file mode 120000 index 0000000..60b66bb --- /dev/null +++ b/systemd/system/multi-user.target.wants/mariadb.service @@ -0,0 +1 @@ +/usr/lib64/systemd/system/mariadb.service \ No newline at end of file diff --git a/systemd/system/mysql.service b/systemd/system/mysql.service new file mode 120000 index 0000000..60b66bb --- /dev/null +++ b/systemd/system/mysql.service @@ -0,0 +1 @@ +/usr/lib64/systemd/system/mariadb.service \ No newline at end of file diff --git a/systemd/system/mysqld.service b/systemd/system/mysqld.service new file mode 120000 index 0000000..60b66bb --- /dev/null +++ b/systemd/system/mysqld.service @@ -0,0 +1 @@ +/usr/lib64/systemd/system/mariadb.service \ No newline at end of file