• It says database needs to be repaired. I clicked on repaired and it ran this:

    The wp_users table is okay.

    The wp_usermeta table is okay.

    The wp_posts table is not okay. It is reporting the following error: Table ‘wordpress.wp_posts’ doesn’t exist. WordPress will attempt to repair this table…
    Failed to repair the wp_posts table. Error: Table ‘wordpress.wp_posts’ doesn’t exist

    The wp_comments table is okay.

    The wp_links table is not okay. It is reporting the following error: Table ‘wordpress.wp_links’ doesn’t exist. WordPress will attempt to repair this table…
    Failed to repair the wp_links table. Error: Table ‘wordpress.wp_links’ doesn’t exist

    The wp_options table is not okay. It is reporting the following error: Table ‘wordpress.wp_options’ doesn’t exist. WordPress will attempt to repair this table…
    Failed to repair the wp_options table. Error: Table ‘wordpress.wp_options’ doesn’t exist

    The wp_postmeta table is not okay. It is reporting the following error: Table ‘wordpress.wp_postmeta’ doesn’t exist. WordPress will attempt to repair this table…
    Failed to repair the wp_postmeta table. Error: Table ‘wordpress.wp_postmeta’ doesn’t exist

    The wp_terms table is okay.

    The wp_term_taxonomy table is okay.

    The wp_term_relationships table is okay.

    The wp_termmeta table is okay.

    The wp_commentmeta table is okay.

    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_posts: Table ‘wordpress.wp_posts’ doesn’t exist
    wp_links: Table ‘wordpress.wp_links’ doesn’t exist
    wp_options: Table ‘wordpress.wp_options’ doesn’t exist
    wp_postmeta: Table ‘wordpress.wp_postmeta’ doesn’t exist

    —-

    I was using newest version of version,
    this actually used to work with the old version.
    Whatever database name I name my site, e.g. database name: wordpress_sitename1, wordpress_sitename2 and paste freshly downloaded wordpress from your repo and edit the folder name to match my database name created, e.g. wordpress_sitename1 or wordpress_sitename2 (database name: wordpress_sitename1, wordpress folder name instead of plain wordpress: wordpress_sitename1), the installation went smoothly.
    I had 6 successful installs with the same setup before with 6 different websites.

    Now, it just asks for repairs. And I can’t log in.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jaywish

    (@jaywish)

    I use XAMPP just to develop the site.

    Thanks for any reply!

    I think it unlikely that the WordPress version is relevant in this problem, it is the mySQL that operates upon the database and is generating these errors. There are historical WordPress versions available from here:
    https://codex.www.ads-software.com/Current_events
    by all means download and install your prior version and try it.

    Have you upgraded you XAMPP package ?

    What does your phpmyadmin database browser have to say ?
    What happens when you restore a backup of your database ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in installing wordpress in local host,used to work with same setup’ is closed to new replies.