Menu

#41 Can't configure. It shows SSL errors.

v1.0 (example)
open
nobody
None
5
2019-04-15
2016-06-13
Saju A P
No
WARNING

Errors reported during AutoMySQLBackup execution.. Backup failed
Error log below..
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2026 (HY000): SSL connection error: SSL is required but the server doesn't support it
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Got error: 2026: SSL connection error: SSL is required but the server doesn't support it when trying to connect
mysqlshow: [Warning] Using a password on the command line interface can be insecure.
mysqlshow: SSL connection error: SSL is required but the server doesn't support it
mysqldump: [Warning] Using a password on the command line interface can be insecure.
mysqldump: Got error: 2026: SSL connection error: SSL is required but the server doesn't support it when trying to connect

Discussion

  • Thomas

    Thomas - 2017-01-05

    Got the same Error. Does anyone have a solution yet?

     
  • Thomas

    Thomas - 2017-01-05

    Change config file: /etc/automysqlbackup/automysqlbackup.conf

    Use ssl encryption with mysqldump?
    CONFIG_mysql_dump_usessl='no'

    **

     
  • Paul

    Paul - 2017-07-15

    also gives warning:

    WARNING: --ssl is deprecated and will be removed in a future version. Use --ssl-mode instead

     

    Last edit: Paul 2017-07-15
  • Mike Bobbitt

    Mike Bobbitt - 2017-12-31

    Update as follows:

    [[ "${CONFIG_mysql_dump_usessl}" = "yes" ]]                 && {
          opt=( "${opt[@]}" '--ssl-mode=REQUIRED' )
          mysql_opt=( "${mysql_opt[@]}" '--ssl-mode=REQUIRED' )
          opt_fullschema=( "${opt_fullschema[@]}" '--ssl-mode=REQUIRED' )
          opt_dbstatus=( "${opt_dbstatus[@]}" '--ssl-mode=REQUIRED' )
    }
    
     
  • Orakler

    Orakler - 2019-04-15

    Soluce from Mike Bobbitt works, the code must be added to the automysqlbackup script in my case in /usr/local/bin/automysqlbackup
    Thanks for the solution Mike :-)

     

Log in to post a comment.