• Discussion
  • How to migrate from server A to server B

izsurya
The target panel is required for the api, and the source panel does not need to open the api.
So the old version can also be used.

4 months later
5 months later

so we need to install aapanel on the new server first correct?

and should the os version same in new server?

thanks

    shm
    If you want to use one-click migration to complete the site migration, you need to install aapanel and the plugin on the new server, and then follow the prompts to migrate

    so i install one click migration on both server?

    shm pretty simple wrong password, you have to provide the correct credentials tho

    i've created same mysql root password for old server and new server, but still same?

      shm it should match then but its not working thats clearly a wrong password, perhaps username, let me explain, some other systems we work on, use databases were the username is such as abc_abc when we change to a new system the username and password have to match those settings.

      Another thing... Is that User created in the panel you want to transfer to? How about the privileges, is it full? Read Only?

      i manually export sql from phpmyadmin and restore to new server
      before i also can't login or reset my mysql root access
      so i add skip-grant-tables and change via ssh then alter priveleges of root on both server

        shm
        This may be that you manually changed the mysql root account permissions and password of the old server and caused the panel to fail to read the backup database.