Have a problem when moving account from server to another

Hello every one

I am moving 50 accounts from Directadmin to Cpanel server

I do the folowing

tar public_html
tar mysql

move the files

then create account in the cpanel server then untar files

everything working good

But I have 1 problem

that when I untared mysql database I must enter to cpanel user and add user name and password to each database to each user

so I go to config file for each script and see user name and password then I create this user and give it password and then give him full control privilige to its database

Is there any other way to copy users and passwords ???

I mean Mysql users and passwords

Please help cause it take a long of time for me

 

 

 

 

Top