Title: Database connection issue
Last modified: August 31, 2016

---

# Database connection issue

 *  Resolved [plequere](https://wordpress.org/support/users/plequere/)
 * (@plequere)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/)
 * The plugin looks very promising. Unfortunately it doesn’t work for me. While 
   I can select a contact form, the query fails with:
 * DataTables warning: table id=nimble_table_data – An error occurred while connecting
   to the database. The error reported by the server was: SQLSTATE[28000] [1045]
   Access denied for user ‘www-data’@’localhost’ (using password: NO)
 * Also, could you confirm that the data is NOT stored off-site on a third party
   server?
 * [https://wordpress.org/plugins/save-contact-form-7/](https://wordpress.org/plugins/save-contact-form-7/)

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

 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7412813)
 * Hello Plequere,
 * Thank you for downloading and using our plugin. And, thank you for kind words.
 * I am sorry that it didn’t work for you. But, I am on it and I will fix it.
 * To answer your questions: Absolutely not, the data is not stored on Third Party
   Server. Its stored only on your server [Meaning: On the server where the WP website
   is hosted and plugin is installed].
 * I will look into this and will get back to you very soon. I will let you know
   if I will need any more details from your end.
 * In the meantime can you do me a favour, and let me know the followings; it will
   let me help sort this quickly:
 * What is the version of WP you are using?
    What is the version of CF7 you are 
   using?
 *  Thread Starter [plequere](https://wordpress.org/support/users/plequere/)
 * (@plequere)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7412818)
 * Thanks for the quick response. I am using WordPress 4.5.2 and the latest version
   of the plugin. I am hosted on WPEngine.
 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7412819)
 * Hey,
 * Thank you for the response. I will come back soon.
 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7412936)
 * Hi,
 * I have been trying to recreate the same problem at my end but, not able to.
 * So, is it possible for you to provide me the access for wp-admin for a while,
   or we can TeamViewer. Whatever you prefer is fine.
 * Thank you.
 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7412979)
 * Hello,
 * Please let me know if it’s possible for you to provide me details so I can resolve
   the problem you are facing.
 * Thank you.
 *  [WorldOfBenjamin](https://wordpress.org/support/users/worldofbenjamin/)
 * (@worldofbenjamin)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413010)
 * Hello, I am facing this same issue.
 *  [WorldOfBenjamin](https://wordpress.org/support/users/worldofbenjamin/)
 * (@worldofbenjamin)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413011)
 * Contact Form 7 4.4.1
 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413012)
 * Hi Benjamin,
 * Thank you for downloading Save Contact Form 7.
 * Can you please get me access of your wp-admin on Monday, if possible.
 * That way I can quickly track and resolve the problem.
 * Thank you.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413023)
 * [@nimblechapps](https://wordpress.org/support/users/nimblechapps/) I’ve deleted
   your offer to login to your user’s site. I’m am 100% sure you mean well but please
   _never ask for credentials on these forums._
 * [http://codex.wordpress.org/Forum_Welcome#The_Bad_Stuff](http://codex.wordpress.org/Forum_Welcome#The_Bad_Stuff)
 * Now for the why: The internet is a wonderful place full of very nice people and
   a few very bad ones. I’m sure everyone here is very nice however, by giving some
   ones keys to your house you are trusting they wont steal anything. Likewise the
   person who takes the keys is now responsible for the house FOREVER.
 * If something was to go wrong, then you the author may well legally become liable
   for damages, which they would not normally have been as their software is provided
   without warranty.
 * Please be aware that repeatedly asking for credentials will result in us asking
   you to repeatedly stop before escalating up to the plugins team.
 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413024)
 * Hello Jan,
 * I understand your point, and totally agree with you.
 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [10 years ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413025)
 * Hello WorldOfBenjamin,
 * As Jan mentioned, it’s not a good idea to put out login details here.
 * So, try to tackle the issue in a better way.
 * Can you please tell me what are the plugins you have installed? So, that I can
   try to recreate the scenario at my end to see if any plugin conflicts?
 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413037)
 * Hello Guys,
 * Didn’t hear back from you for a long time, hope the issue is resolved. Please
   post your comments if the issue still persists.
 *  Thread Starter [plequere](https://wordpress.org/support/users/plequere/)
 * (@plequere)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413038)
 * Hello,
 * The issue is still occurring as far as I know, but to be frank I have switched
   to another plugin. I appreciate the prompt responses and willingness to help.
   Unfortunately we have sensitive customer information in our database and granting
   administrative access is simply not an option as far as I am concerned.
 *  Plugin Author [nimblechapps](https://wordpress.org/support/users/nimblechapps/)
 * (@nimblechapps)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-7413048)
 * Is there any other way or possibility I can help? I mean on your local or something
   where there are no data, and I can take a look through TeamViewer.
 * Could you please tell me what other plugins are installed, so I can check if 
   there are any conflicts?
 * Thank you.
 *  [sashman13](https://wordpress.org/support/users/sashman13/)
 * (@sashman13)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-8260947)
 * Had a similar pdo issue as well and tracked it down. When people use localhost
   for the db_host it uses the mysql socket instead of the local mysql port (tcp/
   ip). What happened for me at least was the default pdo socket info was blank 
   in php.ini.
 * The error in OPs is more than likely caused by another connection attempt that
   failed and then when the system tries to access data it attempts to reconnect
   using the default login on debian which is ‘www-data’@’localhost’ and no password.
   It may be pretty tough to track down. It looks like your connection script does
   not use the wordpress port value though, so maybe that’s a good place to start.

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

The topic ‘Database connection issue’ is closed to new replies.

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

 * 15 replies
 * 5 participants
 * Last reply from: [sashman13](https://wordpress.org/support/users/sashman13/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/database-connection-issue-3/#post-8260947)
 * Status: resolved