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!

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:
    151
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,191
    Likes Received:
    1
    Trophy Points:
    168
    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.
     
    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