<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-2141 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2141 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error</link><pubDate>Wed, 12 Aug 2020 13:32:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Current Revision posted to Appian Knowledge Base by James Lee on 8/12/2020 1:32:46 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console. The following error is printed in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Append&amp;nbsp;&lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string to require the connection string to use SSL.&lt;/li&gt;
&lt;li&gt;If the error still occurs,&amp;nbsp;&lt;span&gt;the database certificate may be self-signed and/or not trusted automatically. Append&lt;/span&gt;&amp;nbsp;&lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string&amp;nbsp;to require the connection to both use SSL and&amp;nbsp;trust the existing certificate.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Appending&amp;nbsp;&lt;span&gt;&lt;code&gt;&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string will cause Appian to automatically trust the database server certificate. This may be required if the server is using a self-signed certificate, but this is not recommended in production environments.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT SP-4715 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error/revision/8</link><pubDate>Wed, 12 Aug 2020 13:25:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>Nicholas Van Dyke</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Nicholas Van Dyke on 8/12/2020 1:25:55 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console. The following error is printed in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Append&amp;nbsp;&lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string to require the connection string to use SSL.&lt;/li&gt;
&lt;li&gt;If the error still occurs,&amp;nbsp;&lt;span&gt;the database certificate may be self-signed and/or not trusted automatically. Append&lt;/span&gt;&amp;nbsp;&lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string&amp;nbsp;to require the connection to both use SSL and&amp;nbsp;trust the existing certificate.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Appending&amp;nbsp;&lt;span&gt;&lt;code&gt;&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string will cause Appian to automatically trust the database server certificate. This may be required if the server is using a self-signed certificate, but this is not recommended in production environments.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT SP-4715 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error/revision/7</link><pubDate>Wed, 12 Aug 2020 10:42:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>Tom Ryan</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Tom Ryan on 8/12/2020 10:42:44 AM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console. The following error is printed in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Append&amp;nbsp;&lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string to require the connection string to use SSL.&lt;/li&gt;
&lt;li&gt;If the error still occurs,&amp;nbsp;&lt;span&gt;the database certificate may be self-signed and/or not trusted automatically. Append&lt;/span&gt;&amp;nbsp;&lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string&amp;nbsp;to require the connection to both use SSL and&amp;nbsp;trust the existing certificate.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Appending&amp;nbsp;&lt;span&gt;&lt;code&gt;&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string will cause Appian to automatically trust the database server certificate. This may be required if the server is using a self signed certificate. This is not recommended in production environments.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT SP-4715 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error/revision/6</link><pubDate>Tue, 11 Aug 2020 20:48:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Revision 6 posted to Appian Knowledge Base by James Lee on 8/11/2020 8:48:24 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console. The following error is printed in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Append&amp;nbsp;&lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string to require the connection string to use SSL.&lt;/li&gt;
&lt;li&gt;If the error still occurs,&amp;nbsp;&lt;span&gt;the database certificate may be self-signed and/or not trusted automatically. Append&lt;/span&gt;&amp;nbsp;&lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string&amp;nbsp;to require the connection to both use SSL and&amp;nbsp;trust the existing certificate.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Appending&amp;nbsp;&lt;span&gt;&lt;code&gt;&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string should NOT be used as a workaround for issues related to the database certificate itself.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT SP-4715 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error/revision/5</link><pubDate>Tue, 11 Aug 2020 16:17:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>Nicholas Van Dyke</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Nicholas Van Dyke on 8/11/2020 4:17:37 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console. The following error is printed in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This error can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string to require the connection string to use SSL. If the error still occurs, it can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string. This requires the connection to both use SSL and trust the existing certificate if the certificate is self-signed and/or not trusted automatically.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NOTE:&lt;/strong&gt; Appending&amp;nbsp;&lt;span&gt;&lt;code&gt;&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string&amp;nbsp;should&amp;nbsp;NOT be used as a workaround for issues related to the database certificate itself.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT SP-4715 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error/revision/4</link><pubDate>Mon, 10 Aug 2020 13:39:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Revision 4 posted to Appian Knowledge Base by James Lee on 8/10/2020 1:39:00 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console. The following error is printed in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This error can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string to require the connection string to use SSL. If the error still occurs, it can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string. This requires the connection to both use SSL and trust the existing certificate if the certificate is self-signed and/or not trusted automatically.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT SP-4715 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error/revision/3</link><pubDate>Mon, 10 Aug 2020 13:37:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Revision 3 posted to Appian Knowledge Base by James Lee on 8/10/2020 1:37:57 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console. The following error is printed in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This error can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string to require the connection string to use SSL. If the error still occurs, it can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string&amp;nbsp;to require the connection to both use SSL and trust the existing certificate if the certificate is self-signed and/or not trusted automatically.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT SP-4715 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error/revision/2</link><pubDate>Mon, 10 Aug 2020 13:35:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>James Lee</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Revision 2 posted to Appian Knowledge Base by James Lee on 8/10/2020 1:35:52 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console. The following error is printed in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This error can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string to require the connection string to use SSL. If the error still occurs, it can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string&amp;nbsp;to require the connection to both use SSL and trust the existing certificate if&amp;nbsp; the certificate is self-signed and/or not trusted automatically.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT SP-4715 Unable to add MySQL data source from Admin Console due to "Failed datasource validation" and SSL error</title><link>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error/revision/1</link><pubDate>Thu, 06 Aug 2020 15:11:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9685c01-3378-474c-8ae6-fd19fc7bbf94</guid><dc:creator>Nicholas Van Dyke</dc:creator><comments>https://community.appian.com/support/w/kb/1971/kb-2141-unable-to-add-mysql-data-source-from-admin-console-due-to-failed-datasource-validation-and-ssl-error#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nicholas Van Dyke on 8/6/2020 3:11:50 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Users are unable to add a MySQL data source from the Admin Console due to the following error in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;ERROR com.appiancorp.expr.server.scriptingfunctions.DataSourceFunctions - Failed datasource validation&lt;br /&gt;com.appiancorp.rdbms.datasource.DataSourceValidationException: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: Cannot create PoolableConnectionFactory (SSL connection is required. Please specify SSL options and retry.)&lt;br /&gt;...&lt;br /&gt;Caused by: java.sql.SQLException: SSL connection is required. Please specify SSL options and retry.&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;The MySQL data source requires an SSL connection, but the connection string&amp;nbsp;does not specify&amp;nbsp;that SSL should be used.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;This error can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&lt;/code&gt; to the MySQL connection string, which requires the connection string to use SSL. If the error still occurs, it can be resolved by appending &lt;code&gt;&amp;amp;useSSL=true&amp;amp;trustServerCertificate=true&lt;/code&gt; to the connection string, which requires it to both use SSL and trust the existing certificate if self-signed and/or not trusted automatically.&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Th&lt;/span&gt;is article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed: August 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, mysql, infrastructure&lt;/div&gt;
</description></item></channel></rss>