1From 719206df606acd7a623e8d75da293c25489b7884 Mon Sep 17 00:00:00 2001
2From: Diego Rondini <diego.ml@zoho.com>
3Date: Thu, 18 Feb 2016 15:44:06 +0100
4Subject: [PATCH] Adjust Mysql config defaults
5
6Upstream-Status: Inappropriate [configuration]
7
8Signed-off-by: Diego Rondini <diego.ml@zoho.com>
9---
10 mysql/config | 18 +++++++++---------
11 1 file changed, 9 insertions(+), 9 deletions(-)
12
13--- a/mysql/config
14+++ b/mysql/config
15@@ -1,13 +1,13 @@
16-start_cmd=cd /usr/local/mysql ; (./bin/safe_mysqld || ./bin/mysqld_safe) &
17+start_cmd=/usr/bin/mysqld_safe
18 perpage=25
19-mysql=/usr/local/mysql/bin/mysql
20-mysqldump=/usr/local/mysql/bin/mysqldump
21-mysqlimport=/usr/local/mysql/bin/mysqlimport
22-pass=foo
23-mysqlshow=/usr/local/mysql/bin/mysqlshow
24+mysql=/usr/bin/mysql
25+mysqldump=/usr/bin/mysqldump
26+mysqlimport=/usr/bin/mysqlimport
27+pass=
28+mysqlshow=/usr/bin/mysqlshow
29 login=root
30-mysql_libs=/usr/local/mysql/lib
31-mysqladmin=/usr/local/mysql/bin/mysqladmin
32+mysql_libs=/usr/lib
33+mysqladmin=/usr/bin/mysqladmin
34 style=1
35 add_mode=1
36 nodbi=0
37@@ -15,7 +15,7 @@ access=*: *
38 blob_mode=0
39 date_subs=0
40 passwd_mode=0
41-mysql_data=/usr/local/mysql/var
42+mysql_data=/var/lib/mysql
43 max_dbs=50
44 my_cnf=/etc/my.cnf
45 max_text=1000
46