Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
backupninja
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
backupninja
Commits
1a2279cb
Commit
1a2279cb
authored
19 years ago
by
elijah
Browse files
Options
Downloads
Patches
Plain Diff
added double quotes around password in .my.cnf
parent
72e56ec1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog
+3
-1
3 additions, 1 deletion
changelog
handlers/mysql
+3
-3
3 additions, 3 deletions
handlers/mysql
with
6 additions
and
4 deletions
changelog
+
3
−
1
View file @
1a2279cb
...
...
@@ -20,7 +20,9 @@ version 0.x -- xxxxxxxxxxxxx
added configfile option to mysql handler
the default is /etc/mysql/debian.cnf. with this,
sqldump doesn't need dbusername. (hotcopy still does).
fixed bug in mysql handler which caused some passwords to not work.
(.my.cnf files now have double quotes around password)
version 0.5 -- April 12 2005
rdiff handler works when remote sshd has a banner
rdiff handler supports local dest
...
...
This diff is collapsed.
Click to expand it.
handlers/mysql
+
3
−
3
View file @
1a2279cb
...
...
@@ -96,15 +96,15 @@ if [ "$dbusername" != "" -a "$dbpassword" != "" ]; then
# auto generated backupninja mysql conf
[mysql]
user=$dbusername
password=$dbpassword
password=
"
$dbpassword
"
[mysqldump]
user=$dbusername
password=$dbpassword
password=
"
$dbpassword
"
[mysqlhotcopy]
user=$dbusername
password=$dbpassword
password=
"
$dbpassword
"
EOF
umask $oldmask
defaultsfile="--defaults-file=$mycnf"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment