/[smecontribs]/rpms/smeserver-automysqlbackup/contribs9/smeserver-automysqlbackup-3.0.RC6-bz10806.errorsAndCreateUsers.patch
ViewVC logotype

Diff of /rpms/smeserver-automysqlbackup/contribs9/smeserver-automysqlbackup-3.0.RC6-bz10806.errorsAndCreateUsers.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Tue Nov 26 03:40:46 2019 UTC Revision 1.3 by jpp, Tue Nov 26 17:49:26 2019 UTC
# Line 484  diff -Nur smeserver-automysqlbackup-3.0. Line 484  diff -Nur smeserver-automysqlbackup-3.0.
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';
# Line 503  diff -Nur smeserver-automysqlbackup-3.0. Line 503  diff -Nur smeserver-automysqlbackup-3.0.
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' ;


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed