• Site address is https://mostviralmedia.com

    Error establishing a database connection is the error message i get when i goto any page within my site except for the home page.

    I am getting the following error message when i goto wp-admin.php.

    Can’t select database
    We were able to connect to the database server (which means your username and password is okay) but not able to select the mvm_wrdp1 database.

    Are you sure it exists?
    Does the user mvm_wrdp1 have permission to use the mvm_wrdp1 database?
    On some systems the name of your database is prefixed with your username, so it would be like username_mvm_wrdp1. Could that be the problem?
    If you don’t know how to set up a database you should contact your host. If all else fails you may find help at the WordPress Support Forums.

    When i goto to the mysql page and tried resolving the database it gave me the following message

    mvm_wrdp1_.wp_commentmeta OK
    mvm_wrdp1_.wp_comments OK
    mvm_wrdp1_.wp_fb_friends OK
    mvm_wrdp1_.wp_fb_lastlogin OK
    mvm_wrdp1_.wp_kaltura_widgets OK
    mvm_wrdp1_.wp_links OK
    mvm_wrdp1_.wp_newsletter_profiles OK
    mvm_wrdp1_.wp_options OK
    mvm_wrdp1_.wp_postmeta OK
    mvm_wrdp1_.wp_posts OK
    mvm_wrdp1_.wp_prli_clicks OK
    mvm_wrdp1_.wp_prli_groups OK
    mvm_wrdp1_.wp_prli_link_metas OK
    mvm_wrdp1_.wp_prli_links OK
    mvm_wrdp1_.wp_sharebar OK
    mvm_wrdp1_.wp_term_relationships OK
    mvm_wrdp1_.wp_term_taxonomy OK
    mvm_wrdp1_.wp_terms OK
    mvm_wrdp1_.wp_todolist OK
    mvm_wrdp1_.wp_todolist_cats OK
    mvm_wrdp1_.wp_usermeta OK
    mvm_wrdp1_.wp_users OK
    mvm_wrdp1_.wp_w3tc_cdn_queue OK
    mvm_wrdp1_.wp_wassup OK
    mvm_wrdp1_.wp_wassup_tmp OK
    mvm_wrdp1_.wp_wpr_autoresponder_messages
    Error : Table ‘mvm_wrdp1_.wp_wpr_autoresponder_messages’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_autoresponders
    Error : Table ‘mvm_wrdp1_.wp_wpr_autoresponders’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_blog_series
    Error : Table ‘mvm_wrdp1_.wp_wpr_blog_series’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_blog_subscription OK
    mvm_wrdp1_.wp_wpr_custom_fields
    Error : Table ‘mvm_wrdp1_.wp_wpr_custom_fields’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_custom_fields_values
    Error : Table ‘mvm_wrdp1_.wp_wpr_custom_fields_values’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_followup_subscriptions
    Error : Table ‘mvm_wrdp1_.wp_wpr_followup_subscriptions’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_newsletter_mailouts
    Error : Table ‘mvm_wrdp1_.wp_wpr_newsletter_mailouts’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_newsletters
    Error : Table ‘mvm_wrdp1_.wp_wpr_newsletters’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_queue OK
    mvm_wrdp1_.wp_wpr_subscriber_transfer OK
    mvm_wrdp1_.wp_wpr_subscribers
    Error : Table ‘mvm_wrdp1_.wp_wpr_subscribers’ doesn’t exist
    status : Operation failed
    mvm_wrdp1_.wp_wpr_subscription_form
    Error : Table ‘mvm_wrdp1_.wp_wpr_subscription_form’ doesn’t exist
    status : Operation failed

    can someone please help me with this..

    I would be really grateful even if someone can just help to get the content from the site, so i can put that content in a fresh installation of word press..

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try using phpmyadmin to repair/optimize the databse. And do you have a database backup? Ask your host if they have a backup for you.

    Thread Starter phsfboys

    (@phsfboys)

    how to repair/optimize the database using phpymyadmin ?? and i spoke to my host, and they don seem to have any backup… they said they can backup right now if i wanted..

    will i be able to do anything with that backup ?? will i be able to get the contents from my site anyway ??

    that is all i want from that site.. only the contents.. just an xml export of the content..

    is there anyway to do it ?? or anyway to fix the above problem ?? which ever is simple and doable !

    Your help is much appreciated..

    Thanks Songdogtech for your quick response..

    Thread Starter phsfboys

    (@phsfboys)

    So, i found the way to optimize phpmyadmin database..

    this is what i got..

    Your SQL query has been executed successfully
    OPTIMIZE TABLE wp_commentmeta , wp_comments , wp_fb_friends , wp_fb_lastlogin , wp_kaltura_widgets , wp_links , wp_newsletter_profiles , wp_options , wp_postmeta , wp_posts , wp_prli_clicks , wp_prli_groups , wp_prli_links , wp_prli_link_metas , wp_sharebar , wp_terms , wp_term_relationships , wp_term_taxonomy , wp_todolist , wp_todolist_cats , wp_usermeta , wp_users , wp_w3tc_cdn_queue , wp_wassup , wp_wassup_tmp , wp_wpr_blog_subscription , wp_wpr_queue , wp_wpr_subscriber_transfer

    Table Op Msg_type Msg_text
    mvm_wrdp1_.wp_commentmeta optimize status OK
    mvm_wrdp1_.wp_comments optimize status OK
    mvm_wrdp1_.wp_fb_friends optimize status OK
    mvm_wrdp1_.wp_fb_lastlogin optimize status OK
    mvm_wrdp1_.wp_kaltura_widgets optimize status OK
    mvm_wrdp1_.wp_links optimize status OK
    mvm_wrdp1_.wp_newsletter_profiles optimize status OK
    mvm_wrdp1_.wp_options optimize status OK
    mvm_wrdp1_.wp_postmeta optimize status OK
    mvm_wrdp1_.wp_posts optimize status OK
    mvm_wrdp1_.wp_prli_clicks optimize status OK
    mvm_wrdp1_.wp_prli_groups optimize status OK
    mvm_wrdp1_.wp_prli_links optimize status OK
    mvm_wrdp1_.wp_prli_link_metas optimize status OK
    mvm_wrdp1_.wp_sharebar optimize status OK
    mvm_wrdp1_.wp_terms optimize status OK
    mvm_wrdp1_.wp_term_relationships optimize status OK
    mvm_wrdp1_.wp_term_taxonomy optimize status OK
    mvm_wrdp1_.wp_todolist optimize status OK
    mvm_wrdp1_.wp_todolist_cats optimize status OK
    mvm_wrdp1_.wp_usermeta optimize status OK
    mvm_wrdp1_.wp_users optimize status OK
    mvm_wrdp1_.wp_w3tc_cdn_queue optimize status OK
    mvm_wrdp1_.wp_wassup optimize status OK
    mvm_wrdp1_.wp_wassup_tmp optimize status OK
    mvm_wrdp1_.wp_wpr_blog_subscription optimize status OK
    mvm_wrdp1_.wp_wpr_queue optimize status OK
    mvm_wrdp1_.wp_wpr_subscriber_transfer optimize status OK

    everything says ok and has a check mark on it..

    but still the site is having the same problem.. not resolved ??

    Moderator James Huff

    (@macmanx)

    You may need to repair the database, which is a bit different from optimizing.

    Access your WordPress database via phpMyAdmin (most hosting providers offer this in their control panel), check all of the tables, and choose “Repair tables” from the pull-down menu.

    Thread Starter phsfboys

    (@phsfboys)

    hi James,
    i tried doing as you said, it says successfully repaired tables..

    but, still the site shows the same database error..

    Not the greatest webhost if they don’t have a backup.

    Try backing up your database and see if that works OK:
    https://codex.www.ads-software.com/Backing_Up_Your_Database

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.