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

    Default databases aren't showing up in cpanel but they are in WHM phpMyAdmin

    I have a web site on CP that the 3 databases aren't being listed in "MySQL Databases" under databases. But 2 of the 3 ARE showing up in CP/myPHPAdmin.

    All 3 show up in WHM/myPHPAdmin !!!!

    This all started when I reset the CPanel account password, i checked the box that said to sync with MySQL.

    The databases fell out then.

    When I went in and looked at .my.cnf the password was not the same as the CPanel account. BUT when I edited the file to match the CPanel account, I got an error when i tried to load CP/myPHPAdmin. When I set it back to the previous (but wrong password) the myPHPAdmin error went away.

    Can someone give me exact steps to fix this?

    I'm sure it's related to all the passwords as it was working before. Please give exact steps because I'm not that skilled with this stuff.

    Thank you.

  2. #2
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: databases aren't showing up in cpanel but they are in WHM phpMyAdmin

    Hello

    Could you try resetting the account password again with the "Allow MySQL password change" option enabled? Check the cPanel error log when you do this to see if there are any specific errors logged:

    Code:
    /usr/local/cpanel/logs/error_log
    You may also want to consider opening a support ticket with our staff so we can investigate further:

    Submit A Ticket

    Please post the ticket number here if you choose to do so.

    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  3. #3
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Jan 2005
    Posts
    89

    Default Re: databases aren't showing up in cpanel but they are in WHM phpMyAdmin

    Might want to also run /usr/local/cpanel/bin/setupdbmap

    that will cause cpanel to update it's listing of databases and users for each account.
    Rachel Moran
    WHM Xtra
    www.whmxtra.com

  4. #4
    Integration Developer cPanelDavidN's Avatar
    Join Date
    Dec 2009
    Location
    Houston, TX
    Posts
    525

    Default Re: databases aren't showing up in cpanel but they are in WHM phpMyAdmin

    Might want to also run /usr/local/cpanel/bin/setupdbmap

    that will cause cpanel to update it's listing of databases and users for each account.
    While that may be true most of the time, that's not the exact purpose of that script.

    DO NOT RUN /usr/local/cpanel/bin/setupdbmap if you have Database Prefixing turned OFF! In fact, I would only run that script as a last resort (and never on a system with Prefixing OFF). That script should not be considered a 'repair' script (despite it's observed behavior in most environments).

    If you have already run that script, and your system is working, then you should be fine. However, I wouldn't chance it...at least not without reading that Perl script and understanding everything it might do to the system and data.

    If you haven't run that script, I'd really recommend you open a support ticket to get this issue resolved. cPanel's database abstraction layer can get complex; the Technicians can help repair your system, will report any new quirky behavior to Developers, and it's complementary too!

    Regards,
    -DavidN
    David Neimeyer
    Integration Developer

    sdk.cpanel.net
    APIs: XML-API API1 & API2
    Check Out: Developer Downloads Integration Blog
    Need Support? Support Ticket Developer Forum Feature Request

  5. #5
    Member
    Join Date
    Jan 2011
    Posts
    13

    Default Re: databases aren't showing up in cpanel but they are in WHM phpMyAdmin

    You can try resetting the password from cPanel->Preferences->Change Password and tick on" Allow Mysql Password Change"

Similar Threads & Tags
Similar threads

  1. What is cPanel_magic_revision_1281697507 and why aren't my images showing?
    By mpkossen in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-01-2010, 05:10 AM
  2. phpMyAdmin showing EVERYONE's databases now
    By cinergi in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-26-2006, 08:37 AM
  3. phpmyadmin Showing a users databases to Everyone
    By noimad1 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-16-2003, 02:28 PM
  4. new mysql databases aren't shown in latest edge
    By cyon in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2003, 01:53 PM
  5. PhpMyAdmin not showing databases
    By Stormtrooper in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-11-2002, 10:42 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube