484 |
diff -Nur smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup |
diff -Nur smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup |
485 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-automysqlbackup-3.0.RC6.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup 1969-12-31 19:00:00.000000000 -0500 |
486 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup 2019-10-02 22:13:28.624000000 -0400 |
+++ smeserver-automysqlbackup-3.0.RC6/root/etc/e-smith/templates/etc/e-smith/sql/init57/automysqlbackup 2019-10-02 22:13:28.624000000 -0400 |
487 |
@@ -0,0 +1,35 @@ |
@@ -0,0 +1,41 @@ |
488 |
+{ |
+{ |
489 |
+my $user = $automysqlbackup{'DbUser'} || 'backupuser'; |
+my $user = $automysqlbackup{'DbUser'} || 'backupuser'; |
490 |
+my $pass = $automysqlbackup{'DbPassword'} || 'automysqlbackup'; |
+my $pass = $automysqlbackup{'DbPassword'} || 'automysqlbackup'; |
503 |
+REPLACE INTO user ( |
+REPLACE INTO user ( |
504 |
+ host, |
+ host, |
505 |
+ user, |
+ user, |
506 |
+ password) |
+ authentication_string, |
507 |
|
+ ssl_cipher, |
508 |
|
+ x509_issuer, |
509 |
|
+ x509_subject) |
510 |
+ VALUES ( |
+ VALUES ( |
511 |
+ 'localhost', |
+ 'localhost', |
512 |
+ '$user', |
+ '$user', |
513 |
+ PASSWORD ('$pass')); |
+ PASSWORD ('$pass'), |
514 |
|
+ '', |
515 |
|
+ '', |
516 |
|
+ ''); |
517 |
+ |
+ |
518 |
+ |
+ |
519 |
+GRANT EVENT,SELECT,LOCK TABLES ON *.* TO 'backupuser'\@'localhost' ; |
+GRANT EVENT,SELECT,LOCK TABLES ON *.* TO 'backupuser'\@'localhost' ; |