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
13diff --git a/mysql/config b/mysql/config
14index e5b6fb3..77bfe69 100644
15--- a/mysql/config
16+++ b/mysql/config
17@@ -1,13 +1,13 @@
18-start_cmd=cd /usr/local/mysql ; (./bin/safe_mysqld || ./bin/mysqld_safe) &
19+start_cmd=/usr/bin/mysqld_safe
20 perpage=25
21-mysql=/usr/local/mysql/bin/mysql
22-mysqldump=/usr/local/mysql/bin/mysqldump
23-mysqlimport=/usr/local/mysql/bin/mysqlimport
24-pass=foo
25-mysqlshow=/usr/local/mysql/bin/mysqlshow
26+mysql=/usr/bin/mysql
27+mysqldump=/usr/bin/mysqldump
28+mysqlimport=/usr/bin/mysqlimport
29+pass=
30+mysqlshow=/usr/bin/mysqlshow
31 login=root
32-mysql_libs=/usr/local/mysql/lib
33-mysqladmin=/usr/local/mysql/bin/mysqladmin
34+mysql_libs=/usr/lib
35+mysqladmin=/usr/bin/mysqladmin
36 style=0
37 add_mode=1
38 nodbi=0
39@@ -15,7 +15,7 @@ access=*: *
40 blob_mode=0
41 date_subs=0
42 passwd_mode=0
43-mysql_data=/usr/local/mysql/var
44+mysql_data=/var/lib/mysql
45 max_dbs=50
46 my_cnf=/etc/my.cnf
47 max_text=1000
48--
492.5.0
50
51