Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    3

    Default No mySQL db after site transfer

    Hello there,

    I have a problem on my server, I am copying sites over to my server and it seems like the databases are missing. The site content has copied over, only the database itself isn't. Before it worked fine with the v11.20 but after I have upgraded into the latest version, the db has gone missing.

    Please give me solutions to this matter.

    Thank you,

  2. #2
    Member
    Join Date
    Oct 2007
    Location
    Argentina
    Posts
    33

    Default

    Hi,
    You can scp the databases from one server to another... Do this on the server from where you're transferring the accounts.
    Code:
    cd /var/lib/mysql
    scp -r CPUSER_* root@SERVER:/var/lib/mysql/
    Where CPUSER is the cPanel user, and SERVER is the hostname or IP of the server you're transferring the accounts to.
    After doing this, make sure that the folder & files are owned by mysql:mysql
    If it's many users, you could try coping the whole mysql folder (Not sure if they are MySQL configuration files on it, so first make sure they aren't)..

    You should open a ticket about the transfer script issue.

Similar Threads & Tags
Similar threads

  1. Site to Site FTP transfer setup ?
    By Valuehosted in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-23-2009, 11:58 AM
  2. MySQL database site transfer
    By apithanos in forum Database Discussions
    Replies: 4
    Last Post: 09-17-2007, 03:46 AM
  3. Site to Site Transfer Failed! Pure-ftpd/Pro-ftpd
    By yeahbaby in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-08-2005, 01:31 PM
  4. Transfer Site
    By paralard in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-10-2004, 01:47 AM
  5. Site Transfer
    By webdave in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 07-22-2002, 11:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube