Title: Getting a database error
Last modified: March 28, 2019

---

# Getting a database error

 *  Resolved [DickRaney](https://wordpress.org/support/users/dickraney/)
 * (@dickraney)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-3/)
 * If I activate Mappress I get a database error:
 *     ```
       [Tablespace for table "'mydomain_wp'.'wp_mappress_maps'" exists. Please DISCARD the tablespace before IMPORT]
       CREATE TABLE wp_mappress_maps ( mapid INT NOT NULL AUTO_INCREMENT PRIMARY KEY, obj LONGTEXT) CHARACTER SET utf8;
       ```
   
 * We were using Mappress before with no problems. When I view the database in phpMyAdmin
   there is no table called “wp_mappress_maps”. There is a table called “wp_mappress_posts”
   and I have tried dropping that table, but when I activate the plugin again I 
   get the same database error again.
    -  This topic was modified 7 years, 2 months ago by [DickRaney](https://wordpress.org/support/users/dickraney/).
    -  This topic was modified 7 years, 2 months ago by [DickRaney](https://wordpress.org/support/users/dickraney/).
    -  This topic was modified 7 years, 2 months ago by [DickRaney](https://wordpress.org/support/users/dickraney/).
    -  This topic was modified 7 years, 2 months ago by [DickRaney](https://wordpress.org/support/users/dickraney/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [chrisvrichardson](https://wordpress.org/support/users/chrisvrichardson/)
 * (@chrisvrichardson)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-3/#post-11371844)
 * Hi,
 * MapPress tries to create its database tables if they don’t exist. I’ve never 
   seen that MySQL error myself, but a quick search on Google showed other MySQL
   users with this problem.
 * It seems like it may be related to a tablespace being full, or an import error.
   Here are some related threads:
 * [https://stackoverflow.com/questions/15694168/error-tablespace-for-table-xxx-exists-please-discard-the-tablespace-before-imp](https://stackoverflow.com/questions/15694168/error-tablespace-for-table-xxx-exists-please-discard-the-tablespace-before-imp)
 * [https://stackoverflow.com/questions/17914446/mysqldump-problems-with-restore-error-please-discard-the-tablespace-before-imp](https://stackoverflow.com/questions/17914446/mysqldump-problems-with-restore-error-please-discard-the-tablespace-before-imp)

Viewing 1 replies (of 1 total)

The topic ‘Getting a database error’ is closed to new replies.

 * ![](https://ps.w.org/mappress-google-maps-for-wordpress/assets/icon-256x256.png?
   rev=2410347)
 * [MapPress Maps for WordPress](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/reviews/)

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [chrisvrichardson](https://wordpress.org/support/users/chrisvrichardson/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/getting-a-database-error-3/#post-11371844)
 * Status: resolved