Title: PHP Database Error &#8211; Plugin installation fails to create tables!
Last modified: August 20, 2016

---

# PHP Database Error – Plugin installation fails to create tables!

 *  Resolved [drelan](https://wordpress.org/support/users/drelan/)
 * (@drelan)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/php-database-error-plugin-installation-fails-to-create-tables/)
 * Howdy people. Having a bit of a problem, and I’m not exactly sure why. I’ve been
   having problems with Events Manager not finding tables for bookings, but I’m 
   discovering now that it also includes any other plugin that tries to install 
   a table on phpmyadmin, the installation of the plugin goes smoothly, but when
   i try to create bookings or events, there is a DATABASE ERROR: the prompted tables
   do not exist, and going into phpmyAdmin I can see the same thing. Only possible
   thing i can think of to prompt this is a problem with the sql version, I’m getting
   these messages on the mainpage for phpmyadmin:
 * > The additional features for working with linked tables have been deactivated.
   > To find out why click here.
   >  Your PHP MySQL library version 5.0.90 differs 
   > from your MySQL server version 5.1.54. This may cause unpredictable behavior.
 * Could this be the problem? Is this were I should be looking. Would very much 
   appreciate some help, am putting things up on a bit of a deadline.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/php-database-error-plugin-installation-fails-to-create-tables/#post-2086182)
 * i think you should resolve the db issues with your host and then see if EM still
   doesn’t work. If not then it’s probably an upgrade or installation issue, where
   the tables weren’t created.
 *  Thread Starter [drelan](https://wordpress.org/support/users/drelan/)
 * (@drelan)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/php-database-error-plugin-installation-fails-to-create-tables/#post-2086188)
 * Marcus, first, thank you for all your help. I so appreciate it, and can’t help
   but feel that I’m not entirely sure what the problem is yet. how do I resolve
   the db issues with my host? I’ve contacted the server host now to try to see 
   if they can help me. I’ve looked at permissions, tried installing other plug-
   ins, but from what I can gather, the tables just aren’t being written. This said
   in my half-state of ignorance.
 * Cheers, d
 *  [Marcus (aka @msykes)](https://wordpress.org/support/users/netweblogic/)
 * (@netweblogic)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/php-database-error-plugin-installation-fails-to-create-tables/#post-2086197)
 * you should forward your comments about your phpmyadmin to the hosts
 * did other plugins add tables correctly?
 *  Thread Starter [drelan](https://wordpress.org/support/users/drelan/)
 * (@drelan)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/php-database-error-plugin-installation-fails-to-create-tables/#post-2086202)
 * thanks marcus, just did that, it seems that not all permissions were enabled,
   since tables weren’t being created at all. So (sigh) finally, em is up and running.
   Many thanks for all the help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘PHP Database Error – Plugin installation fails to create tables!’ is 
closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [tables](https://wordpress.org/support/topic-tag/tables/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [drelan](https://wordpress.org/support/users/drelan/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/php-database-error-plugin-installation-fails-to-create-tables/#post-2086202)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
