Skip to content

Commit

Permalink
Merge pull request #18 from plesk/bugfix-ayuzhakov-non-root-db
Browse files Browse the repository at this point in the history
DB command tweaks
  • Loading branch information
ovaunit authored Oct 5, 2023
2 parents b22a910 + 8f7853e commit c183e85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit c183e85

Please sign in to comment.