WordPress.org

Ready to get started?Download WordPress

Forums

Deleted some crucial tables from database! No backups (2 posts)

  1. omar_trejo08
    Member
    Posted 1 year ago #

    I deleted some tables from my database and do not have a backup. I feel very stupid for deleting some tables that I thought were useless. Now, when I go to my website, it gives me an "error establishing database connection." I went into my wp-config.php file and added the "repair" code that WordPress provides. It successfully TRIED to repair my database, but since some crucial tables were deleted, I got the following:

    The wp_users table is okay.
    The wp_usermeta table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_usermeta' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_usermeta table. Error: Table 'omar08_wrdp1.wp_usermeta' doesn't exist
    The wp_posts table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_posts' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_posts table. Error: Table 'omar08_wrdp1.wp_posts' doesn't exist
    The wp_comments table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_comments' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_comments table. Error: Table 'omar08_wrdp1.wp_comments' doesn't exist
    The wp_links table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_links' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_links table. Error: Table 'omar08_wrdp1.wp_links' doesn't exist
    The wp_options table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_options' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_options table. Error: Table 'omar08_wrdp1.wp_options' doesn't exist
    The wp_postmeta table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_postmeta' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_postmeta table. Error: Table 'omar08_wrdp1.wp_postmeta' doesn't exist
    The wp_terms table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_terms' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_terms table. Error: Table 'omar08_wrdp1.wp_terms' doesn't exist
    The wp_term_taxonomy table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_term_taxonomy' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_term_taxonomy table. Error: Table 'omar08_wrdp1.wp_term_taxonomy' doesn't exist
    The wp_term_relationships table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_term_relationships' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_term_relationships table. Error: Table 'omar08_wrdp1.wp_term_relationships' doesn't exist
    The wp_commentmeta table is not okay. It is reporting the following error: Table 'omar08_wrdp1.wp_commentmeta' doesn't exist. WordPress will attempt to repair this table…
    Failed to repair the wp_commentmeta table. Error: Table 'omar08_wrdp1.wp_commentmeta' doesn't exist
    Some database problems could not be repaired. Please copy-and-paste the following list of errors to the WordPress support forums to get additional assistance.
    wp_usermeta: Table 'omar08_wrdp1.wp_usermeta' doesn't exist
    wp_posts: Table 'omar08_wrdp1.wp_posts' doesn't exist
    wp_comments: Table 'omar08_wrdp1.wp_comments' doesn't exist
    wp_links: Table 'omar08_wrdp1.wp_links' doesn't exist
    wp_options: Table 'omar08_wrdp1.wp_options' doesn't exist
    wp_postmeta: Table 'omar08_wrdp1.wp_postmeta' doesn't exist
    wp_terms: Table 'omar08_wrdp1.wp_terms' doesn't exist
    wp_term_taxonomy: Table 'omar08_wrdp1.wp_term_taxonomy' doesn't exist
    wp_term_relationships: Table 'omar08_wrdp1.wp_term_relationships' doesn't exist
    wp_commentmeta: Table 'omar08_wrdp1.wp_commentmeta' doesn't exist

    What do I need to do now??? I am so stupid for deleting these tables. I am new to this and I need to present this website for a project in 2 days! I'm so worried I won't have it back up by then.

  2. omar_trejo08
    Member
    Posted 1 year ago #


Topic Closed

This topic has been closed to new replies.

About this Topic