1 |
diff -Nur --no-dereference e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs |
2 |
--- e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs 2021-03-18 22:44:32.895000000 -0400 |
3 |
+++ e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/e-smith/sql/init/00_restore_dumped_dbs 2021-03-18 22:46:45.724000000 -0400 |
4 |
@@ -1,7 +1,7 @@ |
5 |
#! /bin/sh |
6 |
|
7 |
( cat /home/e-smith/db/mysql/mysql.dump ; |
8 |
- cat /service/mariadb/set.password ) | mysql || exit 1 |
9 |
+ cat /var/lib/mysql/set.password ) | mysql || exit 1 |
10 |
/usr/bin/mysql_upgrade |
11 |
/bin/rm /var/run/mariadb/mariadb.pid |
12 |
/usr/bin/systemctl restart mariadb.service |