The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add existing MySQL database to Cpanel / phpmysqladmin?

Discussion in 'General Discussion' started by neilio, Jun 7, 2004.

  1. neilio

    neilio Member

    Joined:
    Feb 5, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I have a client who has an existing MySQL database from an earlier Ensim install. I'd really like to give my client access to this DB from within Cpanel, as well as the ability to use PHPMySQLAdmin with it.

    Is this possible somehow? I know if I try to add the name in cpanel, cpanel will add the username to the database name.

    Thanks!

    Neil
     
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    create new database at C-panel : username_test. go to : /var/lib/mysql
    mv username_test username_test.bkp
    copy the ensin database to this folder.
    mv domainname_ensim username_test
    ======================================================
    now add the user and you will be able to access the databse if it is intact.
     
Loading...

Share This Page