Author Topic: CWP Free - cPanel Server Migration - Do not import database  (Read 6044 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP Free - cPanel Server Migration - Do not import database
« on: November 13, 2020, 01:52:32 AM »
Hi,
I have a question and whether it is a limitation of the free version or a bug in the "cPanel Server Migration" module. I have a WHM / cPanel server and I need to migrate to CWP. I use the free version. I performed the procedures referring to the link: https://docs.control-webpanel.com/docs/admin-guide/user-accounts/cpanel-server-migration-new. It imports the entire account, but does not import the database. Is this a limitation of the free version or is it a bug? Has anyone had this error? I appreciate the help.

Offline
*****
Re: CWP Free - cPanel Server Migration - Do not import database
« Reply #1 on: November 13, 2020, 06:39:50 AM »
Hello

There is no difference between the cwpPro migrator and the Free one, I would recommend that you please confirm the migration log and state here what the problem is and I can gladly help you solve it

Offline
*
Re: CWP Free - cPanel Server Migration - Do not import database
« Reply #2 on: November 13, 2020, 11:55:59 AM »
Hi josemnunez,

Attach the printout of the account import log. Apparently there is no error, but the base is not imported when I enter the account phpmyadmin.

Log:
[2020-11-13 09:48:00] - Start import process CPANELCWP_20201113094759
[2020-11-13 09:48:00] - Import Account foxdubcom
[2020-11-13 09:48:00] - Create Backup Account foxdubcom
[2020-11-13 09:48:18] - Start Transfer Backup foxdubcom
[2020-11-13 07:49:03] - The account was created foxdubcom
[2020-11-13 07:49:08] - All files were copied foxdubcom
[2020-11-13 07:49:11] - Database Created foxdubcom
[2020-11-13 07:49:11] - Domains and SubDomains Created foxdubcom
[2020-11-13 07:49:18] - Restoration completed foxdubcom

I went to the migration_cpanel.log log file and found that it has the following error: ERROR 1045 (28000): Access denied for user 'root' @ 'localhost' (using password: NO). I believe that is why you are not copying the database. The access passwords for centos cwp and cpanel are different. I appreciate the help.
« Last Edit: November 13, 2020, 12:26:57 PM by danilofavacho »

Offline
*
Re: CWP Free - cPanel Server Migration - Do not import database
« Reply #3 on: November 15, 2020, 11:26:31 PM »
I solved the problem by placing the mysql database root password inside the file that was created in: /root/.my.cnf

[client]
user = root
password = "your_password"

Thank you for your help.