Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to move cpanel account to addon domain??

Discussion in 'Database Discussion' started by Gateux, Mar 8, 2012.

  1. Gateux

    Gateux Registered

    Nov 3, 2008
    Likes Received:
    Trophy Points:
    Hi there, I just migrated manually a full cpanel account into an addon domain, I had Joomla installed on that account and have manually moved the files onto the addon domain directory.

    I have also restored the MySql database backup and updated my configuration.php file for the Joomla on the database name and etc. But the website still shows me "Database connection error (2): Could not connect to MySQL."


    My previous database name in the full account was "urbanuse_joom509" and after I restore the database backup in my main account, it was automatically changed to "cybergal_urbanuse_joom509" which you can see I have done so the changes in the configuration.php file. I have assign a new user to this database and updated the credentials in the config file too but still having the database error, anyone can help me??
  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    In: cPanel > Databases > MySQL Databases what does it show you for the database name and database user?

    Assuming your cPanel account username is urbanuse, and this addon domain is in the same account, I'm not sure why the username for the database would have changed to cybergal.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice