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!

database problem afther copy account from server to server

Discussion in 'General Discussion' started by wimp, May 27, 2004.

  1. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    166
    hi all,
    afther moving accounts to a new server i note that most of databases are not working correctly.. They has all ben transfered however they dont work as the password are not accepted or customers cannot login to manage there application ( helpdesks, forums etc)
    Do i miss some steps when transfering databases with CPanel ?
    Is there any way to reset databases?


    Thanks a lot
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    782
    Likes Received:
    5
    Trophy Points:
    318
    Location:
    N.W. Iowa
    How did you move/copy the databases from one server to another? Are both the old and new servers running the same version of mysql ?? Did you setup the mysql database with all the privileges for each customers... ??

    Alot more then coping files :) this is where mysqldump is your friend :D

    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. wimp

    wimp Well-Known Member

    Joined:
    Jul 13, 2002
    Messages:
    301
    Likes Received:
    0
    Trophy Points:
    166
    i move them with the account copier in WHM. Yes there are diff. vers. of mysql 3.x.x on the old server and 4.x.x on the new. However, i saw there are some libreries not yet installed on the new server... i will try install and see what happens..
     
  4. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    782
    Likes Received:
    5
    Trophy Points:
    318
    Location:
    N.W. Iowa
    Ok, MySQL 4.0+ requires different privilege tables now and some other changes. If you go here Upgrading 3.23+ to 4.0.+ it'll explain it all very well.

    the account copier only copies the folders /home/<username> and not the actual database files, those are in a completely different location. Use mysqldump to transfer your databases, and following the directions for upgrading above and you should be back in business :)

    Mickalo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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