Missing MySQL users after migration using Plesk Migration Tool -


so i'm not server expert. managed migrate server using plesk's migration tool. plesk managed dbs moved. discovered dbs , users managed through mysql not migrated. can tell me solution this?

this expected behavior - plesk migration tool migrate objects knows about. since have databases , users managed through mysql directly, plesk not know it, not transferred.
should transfer such databases , users manually mysqldump.
create backup of database mysqldump can use following command:

mysql_pwd=`cat /etc/psa/.psa.shadow` mysqldump -u admin database_name > file_name.sql 

to restore such database run:

mysql_pwd=`cat /etc/psa/.psa.shadow` mysql -u admin database_name < file_name.sql   

also need mysql database contains grant information. not recommend blindly transfer , re-create users.
keep in mind if mysql version on target server higher on source need run mysql_upgrade script make changes in schema.

alternatively can export/import databases through phpmyadmin shipped plesk , can found @ plesk > tools & settings > database servers.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -