Title: CONTACT FOEM DB database error &#8212; Help!
Last modified: August 21, 2016

---

# CONTACT FOEM DB database error — Help!

 *  Resolved [kihoshin](https://wordpress.org/support/users/kihoshin/)
 * (@kihoshin)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/)
 * I use WP Japanese version and get this error when accessing Contact From DB.
 * Warning: mysql_real_escape_string(): Can’t connect to local MySQL server through
   socket ‘/tmp/mysql.sock’ (2) in /export/sd205/www/jp/r/e/gmoserver/8/2/sd0276982/
   dagza.net/lp/wp-content/plugins/contact-form-7-to-database-extension/ExportBase.
   php on line 452
 * Warning: mysql_real_escape_string(): A link to the server could not be established
   in /export/sd205/www/jp/r/e/gmoserver/8/2/sd0276982/dagza.net/lp/wp-content/plugins/
   contact-form-7-to-database-extension/ExportBase.php on line 452
    1 から 0 件目
   までを表示 (全 0 件中)
 * Warning: mysql_real_escape_string(): Can’t connect to local MySQL server through
   socket ‘/tmp/mysql.sock’ (2) in /export/sd205/www/jp/r/e/gmoserver/8/2/sd0276982/
   dagza.net/lp/wp-content/plugins/contact-form-7-to-database-extension/ExportBase.
   php on line 452
 * Warning: mysql_real_escape_string(): A link to the server could not be established
   in /export/sd205/www/jp/r/e/gmoserver/8/2/sd0276982/dagza.net/lp/wp-content/plugins/
   contact-form-7-to-database-extension/ExportBase.php on line 452
 * Warning: mysqli_set_charset() expects parameter 1 to be mysqli, resource given
   in /export/sd205/www/jp/r/e/gmoserver/8/2/sd0276982/dagza.net/lp/wp-includes/
   wp-db.php on line 706
 * [https://wordpress.org/plugins/contact-form-7-to-database-extension/](https://wordpress.org/plugins/contact-form-7-to-database-extension/)

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

 *  [TiagoVergutz](https://wordpress.org/support/users/tiagovergutz/)
 * (@tiagovergutz)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964044)
 * I’m with this error too. Tryed to replace mysql_real_escape_string with mysql_escape_string
   and the query to get rows worked, the paginator was displayed, but the results
   in data table not.
 * My WP version is Brazilian Portuguese
 * I’m searching something else that is causing error, if I find put the fix here
 *  [jabrieske](https://wordpress.org/support/users/jabrieske/)
 * (@jabrieske)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964045)
 * I’m having the same issue, which just started in the past few days. A fix would
   be much appreciated!
 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964097)
 * I wonder if this is the same this as: [http://wordpress.org/support/topic/fs-contact-form-data-fields-disappeared-in-db-contact-form-after-wordpress-39?replies=8](http://wordpress.org/support/topic/fs-contact-form-data-fields-disappeared-in-db-contact-form-after-wordpress-39?replies=8)
 *  Plugin Author [Michael Simpson](https://wordpress.org/support/users/msimpson/)
 * (@msimpson)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964101)
 * Version 2.7.3 now has a change that I hope resolves this issue.
 *  [jabrieske](https://wordpress.org/support/users/jabrieske/)
 * (@jabrieske)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964102)
 * Michael…this seems to have worked.
 * I’m still seeing this warning message:
 * Warning: mysqli_set_charset() expects parameter 1 to be mysqli, resource given
   in /home4/ynpnden/public_html/wp-includes/wp-db.php on line 706
 * …but the data is back.
 * Thanks for the quick fix!
 *  Thread Starter [kihoshin](https://wordpress.org/support/users/kihoshin/)
 * (@kihoshin)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964107)
 * Any solutions to this problem?
 *  Thread Starter [kihoshin](https://wordpress.org/support/users/kihoshin/)
 * (@kihoshin)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964108)
 * Michael Simpson thanks for the info but this is a different problem.
 *  Thread Starter [kihoshin](https://wordpress.org/support/users/kihoshin/)
 * (@kihoshin)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964109)
 * Hi, Michael Simpson, Thanks for your input.
    updating the plugin and applying
   the change you have suggested has solved the issue!
 * Supper!
    Thanks
 *  Thread Starter [kihoshin](https://wordpress.org/support/users/kihoshin/)
 * (@kihoshin)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964110)
 * I will close this issue…. thank you all!

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

The topic ‘CONTACT FOEM DB database error — Help!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/contact-form-7-to-database-extension_ffffff.
   svg)
 * [Contact Form DB](https://wordpress.org/plugins/contact-form-7-to-database-extension/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-to-database-extension/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-to-database-extension/reviews/)

 * 9 replies
 * 4 participants
 * Last reply from: [kihoshin](https://wordpress.org/support/users/kihoshin/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/contact-foem-db-database-error-help/#post-4964110)
 * Status: resolved