Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB command tweaks #18

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ var dbCmd = &cobra.Command{
return err
}

return actions.ServerSSH(*server, "plesk db", true)
return actions.ServerSSH(*server, "sudo plesk db", true)
},
}
2 changes: 1 addition & 1 deletion internal/locales/locales.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func init() {
"server.login.generate.flag": "Only generate the link (without autologin attempt)",
"server.ssh.description": "Login to server using SSH",
"server.ssh.flag.command": "Command to execute",
"server.db.description": "Run Plesk Database Shell using SSH",
"server.db.description": "Run interactive Plesk database shell",

"errors.server.remove.failure": "Could not remove server %s: %s",
"errors.feature.not.supported": "Feature %s is not supported on Windows",
Expand Down