I can't restore any user

@how@

Verified User
Joined
Mar 2, 2005
Messages
808
Location
Kingdom of Bahrain
Hello,
I can't restore any user, i get
Error connecting to MySQL: Access denied for user 'da_admin'@'localhost' (using password: YES)

Unable to read the User data files for all4uae.
Error connecting to MySQL: Access denied for user 'da_admin'@'localhost' (using password: YES)

You don't have permission to restore user ******
You don't have permission to restore user ******
Unable to read the User data files for ******.
Error connecting to MySQL: Access denied for user 'da_admin'@'localhost' (using password: YES)

how to fix :confused: it
 
Are user accounts and all other files restored regardless?

You might need to extract the backup and restore the databases manually.
 
@how@ said:
This massage

nothing restore

Has someone have already a solution for this? Or is it true you can't restore to a different server??
 
Hi.

I have just moved some backups to a new server to restore and I had a couple of errors to start with from restoring.

All I did was chown the backup files to admin.admin and everything worked fine and dandy.

Give that a whirl.

ry
 
@how@ said:
Hello,
I can't restore any user, i get


how to fix :confused: it

Your problem can have 1 of 2 causes.

1) your mysql password for da_admin is no longer valid. However if you can access your control panel this should not be the problem.

2) the files you're trying to restore is not accessible by the reseller you're trying to restore them under (admin is also a reseller). chown the files under /home/<reseller>/user_backups to have the owner and group as <reseller>...
# chown <reseller>:<reseller> /home/<reseller>/user_backups/*

Regards,
 
Re: Re: I can't restore any user

resolveit said:
Your problem can have 1 of 2 causes.

1) your mysql password for da_admin is no longer valid. However if you can access your control panel this should not be the problem.

2) the files you're trying to restore is not accessible by the reseller you're trying to restore them under (admin is also a reseller). chown the files under /home/<reseller>/user_backups to have the owner and group as <reseller>...
# chown <reseller>:<reseller> /home/<reseller>/user_backups/*

Regards,

it's still not working. The system still complaning about: Unable to read the User data files for <username>. I can unpack the files by hand and al is there, but the restore tool does not work.
 
It's possible that the files are not in the backup or that the file was courrupted before the backup was made.

Regards,
 
Great !!! We all learn something new every day :)

I went back through my notes and I see that I normally chmod the files 666 as well. guess I don't have to do that anymore :)

Regards,
 
You can also try this:


Code:
userdel username


Then launch the backup restore for this user. It worked for me.
 
Back
Top