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.

Command Line created DB not appearing in CPanel but is in phpMyAdmin

Discussion in 'Database Discussions' started by webnoob, Jun 3, 2011.

  1. webnoob

    webnoob Member

    Joined:
    Jun 3, 2011
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Hi All,

    I have done "CREATE DATABASE MYDB" via SSH and it appears in phpMyAdmin, however, when I go to the MySQL Databases section in CPanel, I cannot see it.

    I presume there is a file somewhere that needs appending. Can anyone explain what I need to do to make it show as I want other users to be able to delete / see the database is there should they need to.

    Many Thanks.
    webnoob.
     
  2. Aleksl

    Aleksl Member
    PartnerNOC

    Joined:
    Jan 15, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    Database must be created with prefix - cPanel login. Ex. - CREATE DATABASE login_db
    After this - run /usr/local/cpanel/bin/setupdbmap via SSH and database must appear in MySQL Databases section
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page