1 |
diff -Nur e-smith-mysql-2.6.0.old/root/etc/e-smith/events/actions/mysql-dump-tables e-smith-mysql-2.6.0/root/etc/e-smith/events/actions/mysql-dump-tables |
2 |
--- e-smith-mysql-2.6.0.old/root/etc/e-smith/events/actions/mysql-dump-tables 2016-02-05 17:29:32.000000000 -0500 |
3 |
+++ e-smith-mysql-2.6.0/root/etc/e-smith/events/actions/mysql-dump-tables 2016-07-18 03:27:37.034000000 -0400 |
4 |
@@ -1,6 +1,6 @@ |
5 |
#!/bin/sh |
6 |
|
7 |
-status=$(/sbin/e-smith/config getprop mysqld status) |
8 |
+status=$(/sbin/e-smith/config getprop mariadb status) |
9 |
if [ "$status" = "disabled" ] |
10 |
then |
11 |
echo "mysqld is disabled - no tables dumped" >&2 |
12 |
diff -Nur e-smith-mysql-2.6.0.old/root/etc/e-smith/events/actions/mysql-load-tables e-smith-mysql-2.6.0/root/etc/e-smith/events/actions/mysql-load-tables |
13 |
--- e-smith-mysql-2.6.0.old/root/etc/e-smith/events/actions/mysql-load-tables 2016-02-05 17:29:32.000000000 -0500 |
14 |
+++ e-smith-mysql-2.6.0/root/etc/e-smith/events/actions/mysql-load-tables 2016-07-18 03:26:07.858000000 -0400 |
15 |
@@ -1,6 +1,6 @@ |
16 |
#!/bin/sh |
17 |
|
18 |
-status=$(/sbin/e-smith/config getprop mysqld status) |
19 |
+status=$(/sbin/e-smith/config getprop mariadb status) |
20 |
if [ "$status" = "disabled" ] |
21 |
then |
22 |
echo "mysqld is disabled - no tables restored" >&2 |
23 |
diff -Nur e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/my.cnf/009socket e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/my.cnf/009socket |
24 |
--- e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/my.cnf/009socket 2003-12-18 17:10:32.000000000 -0500 |
25 |
+++ e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/my.cnf/009socket 2016-07-18 03:23:58.914000000 -0400 |
26 |
@@ -1,5 +1,5 @@ |
27 |
socket=/var/lib/mysql/mysql.sock |
28 |
{ |
29 |
- my $localonly = $mysqld{LocalNetworkingOnly} || "no"; |
30 |
+ my $localonly = $mariadb{LocalNetworkingOnly} || "no"; |
31 |
$OUT = ($localonly eq 'yes') ? "skip-networking" : "# networking is enabled"; |
32 |
} |
33 |
diff -Nur e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit |
34 |
--- e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit 2013-02-13 18:00:24.000000000 -0500 |
35 |
+++ e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/my.cnf/012open_files_limit 2016-07-18 03:23:30.528000000 -0400 |
36 |
@@ -1,7 +1,7 @@ |
37 |
{ |
38 |
$OUT = ''; |
39 |
|
40 |
- my $limit = ${'mysqld'}{OpenFilesLimit} || 0; |
41 |
+ my $limit = ${'mariadb'}{OpenFilesLimit} || 0; |
42 |
return if $limit eq 0; |
43 |
|
44 |
$OUT .= "open_files_limit=$limit\n"; |