{"id":3854,"date":"2016-02-05T16:30:29","date_gmt":"2016-02-05T16:30:29","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=3854"},"modified":"2019-10-25T15:06:04","modified_gmt":"2019-10-25T22:06:04","slug":"troubleshooting-a-database-connection","status":"publish","type":"post","link":"https:\/\/c002.minisoft.com\/support\/troubleshooting-a-database-connection\/","title":{"rendered":"Troubleshooting a Database Connection"},"content":{"rendered":"<p><strong>Problem:<\/strong> Your database connection is not working.<\/p>\n<p><strong>Solution:<\/strong>\u00a0A database connection can fail for a number of reasons. These basic troubleshooting steps resolve common issues. Pay close attention to the error, which can help narrow the cause of the problem.<\/p>\n<ul>\n<li>On the database server, verify the database is available, you are using the correct credentials, and the ID you are using is authorized to query the database.<\/li>\n<\/ul>\n<ul>\n<li>In the eFORMz Composer, verify your database connection definition is correct. See\u00a0<a href=\"https:\/\/www.minisoft.com\/support\/index.php\/database-url-and-driver-classes\/\" target=\"_blank\" rel=\"noopener noreferrer\">Supported URL and Driver Classes<\/a>\u00a0for details.\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Open your project in the eFORMz Composer.<\/li>\n<li>Right click the project &gt; Databases, click the database connection that failed, and click Edit.<\/li>\n<li>Click Test.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/li>\n<li>On the database server, verify that TCP\/IP has been correctly configured, and that you are connecting to the correct port. TCP\/IP configuration details specific to SQL Server are at\u00a0<a href=\"http:\/\/blog.citrix24.com\/configure-sql-express-to-accept-remote-connections\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/blog.citrix24.com\/configure-sql-express-to-accept-remote-connections\/<\/a>. Also make sure that open connections are available.<\/li>\n<\/ul>\n<p>&#8220;Database Connection Error&#8221;: This error typically indicates that a .jar file is missing or the driver class in the database connection is incorrect. A typo in the driver class can result in this error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem: Your database connection is not working. Solution:\u00a0A database connection can fail for a number of reasons. These basic troubleshooting steps resolve common issues. Pay close attention to the error, which can help narrow the cause of the problem. On the database server, verify the database is available, you are using the correct credentials, and [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"_links":{"self":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3854"}],"collection":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=3854"}],"version-history":[{"count":6,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3854\/revisions"}],"predecessor-version":[{"id":7673,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3854\/revisions\/7673"}],"wp:attachment":[{"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=3854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=3854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c002.minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=3854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}