Question

some tables not getting created in wordpress setup tutorial

I’m following along with the WordPress multi-site tutorial here https://www.digitalocean.com/community/articles/how-to-set-up-multiple-wordpress-sites-using-multisite which also references a few other tutorials on DO.

I went through the tutorial twice (i.e. setup two servers) and got the same problem, namely some of my tables are not setup. You can see the error here

http://162.243.211.128/wp-admin/maint/repair.php?repair=1

or I’ll copy it here

The wp_users table is okay.

The wp_usermeta table is okay.

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

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

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

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

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

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

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

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

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

The wp_blogs table is okay.

The wp_signups table is okay.

The wp_site table is okay.

The wp_sitemeta table is okay.

The wp_registration_log table is okay.

The wp_blog_versions table is okay.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

ok, thanks, it worked this time. The problem was that I thought these two lines were the same, so I only added one of them <br> <br>define(‘WP_ALLOW_MULTISITE’, true); <br>define(‘MULTISITE’, true); <br> <br> <br>