Bug 278451 - databases/mysqldump-secure: patch mysqldump-secure to backup MySQL8
Summary: databases/mysqldump-secure: patch mysqldump-secure to backup MySQL8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Zsolt Udvari
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-19 06:59 UTC by Luc
Modified: 2024-09-22 20:05 UTC (History)
2 users (show)

See Also:
jsmith: maintainer-feedback-


Attachments
patch mysqldump-secure to backup MySQL8 (629 bytes, patch)
2024-04-19 06:59 UTC, Luc
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luc 2024-04-19 06:59:50 UTC
Created attachment 250077 [details]
patch mysqldump-secure to backup MySQL8

mysqldump-secure fails to dump MySQL8 databases. 

# /usr/local/bin/mysqldump-secure
[INFO]  (OPT): Logging enabled
[INFO]  (OPT): MySQL SSL connection disabled
[INFO]  (OPT): Compression enabled
[INFO]  (OPT): Encryption disabled
[INFO]  (OPT): Deletion enabled
[INFO]  (OPT): Nagios log enabled
[INFO]  (OPT): Info files enabled
return: Illegal number:


The attached patch fix the issue.
An upgrade to mysqldump-secure 1.6.5 fix the issue
https://github.com/cytopia/mysqldump-secure/releases/tag/0.16.5

Best regards
Comment 1 Jesse Smith 2024-04-21 22:08:58 UTC
This patch looks like it changes the installed copy of mysqldump-secure, rather than upgrading the port or fixing the software in the port before it's installed. We should just be updating the port, not trying to hot fix it after installation.
Comment 2 Jesse Smith 2024-04-21 22:10:22 UTC
There is already a patch for updating to the new version here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276234
Comment 3 Zsolt Udvari freebsd_committer freebsd_triage 2024-08-27 17:37:35 UTC
Could you please check with newest version?
https://cgit.freebsd.org/ports/commit/?id=9dfc18e6d2838821b3a49c243f5e707d2ae10238
Comment 4 Zsolt Udvari freebsd_committer freebsd_triage 2024-09-21 17:32:25 UTC
Friendly ping.