New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

An issue with Exporting DB

Started by agz, November 18, 2023, 04:00:53 PM

Previous topic - Next topic

agz

Hi there,

OS: CentOS
Version: CWP7 Pro

I'm unable to export DB for a user using SSH and getting " Got error: 1045: "Access denied for user ".
Can someone please explain how to solve this issue?

Note: the DB was created by the same user and I'm using its' password to export it.

overseer

You're using mysqldump via an SSH session (using user credentials)? As a workaround, can you export as root? Or have you tried phpMyAdmin?

agz

Quote from: overseer on November 18, 2023, 05:57:45 PM
You're using mysqldump via an SSH session (using user credentials)? 
Yes

QuoteAs a workaround, can you export as root?
yes, but How can a client do it without root access.

QuoteOr have you tried phpMyAdmin?
No, because I think this should work.

rcschaff

Are you able to connect to mysql via the user/password?

If yes, add "   --single-transaction  " to mysqldump, as the user doesn't have lock table privileges
Google Hangouts:  rcschaff82@gmail.com