<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Getting error &amp;quot;Driver version is invalid&amp;quot; for a MySQL connection even if driver is installed? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Getting-error-quot-Driver-version-is-invalid-quot-for-a-MySQL/m-p/629865#M15322</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying our Splunk Enterprise server for MySQL database monitoring. I am using a trial version of Splunk.&lt;/P&gt;
&lt;P&gt;I have installed the Splunk DB Connect application and have installed the MySQL driver&amp;nbsp;mysql-connector-j-8.0.31.jar.&amp;nbsp;I am able to see that the driver is installed. And I have configured a MySQL DB connection.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asabari1994_0-1675762729478.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23746iD77A21FD2902EDE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asabari1994_0-1675762729478.png" alt="asabari1994_0-1675762729478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But when I execute Health Check from the monitoring console for the Splunk DB Connect app, I am getting the error "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;One or more defined connections require the corresponding JDBC driver."&lt;/P&gt;
&lt;P&gt;"Driver version is invalid, connection: MySQLDB, connection_type: mysql."&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asabari1994_1-1675763034133.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23747i53A4D0C0532386F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asabari1994_1-1675763034133.png" alt="asabari1994_1-1675763034133.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;MySQL DB version is 8.0.23 and it's an AWS Aurora RDS instance. I did try "Splunk DBX Add-on for MySQL JDBC" to install the driver before and I had the same issue. I saw that the driver that came with this app was of a lower version than what we use in our application to connect to the database, so installed the new driver directly.&lt;/P&gt;
&lt;P&gt;Also while trying to execute a query I am getting the error "&lt;SPAN&gt;Error in 'dbxquery' command: External search command exited unexpectedly with non-zero error code 1."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please help to resolve this error.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Arun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Feb 2023 23:32:12 GMT</pubDate>
    <dc:creator>asabari1994</dc:creator>
    <dc:date>2023-02-07T23:32:12Z</dc:date>
    <item>
      <title>Getting error "Driver version is invalid" for a MySQL connection even if driver is installed?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Getting-error-quot-Driver-version-is-invalid-quot-for-a-MySQL/m-p/629865#M15322</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying our Splunk Enterprise server for MySQL database monitoring. I am using a trial version of Splunk.&lt;/P&gt;
&lt;P&gt;I have installed the Splunk DB Connect application and have installed the MySQL driver&amp;nbsp;mysql-connector-j-8.0.31.jar.&amp;nbsp;I am able to see that the driver is installed. And I have configured a MySQL DB connection.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asabari1994_0-1675762729478.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23746iD77A21FD2902EDE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asabari1994_0-1675762729478.png" alt="asabari1994_0-1675762729478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But when I execute Health Check from the monitoring console for the Splunk DB Connect app, I am getting the error "&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;One or more defined connections require the corresponding JDBC driver."&lt;/P&gt;
&lt;P&gt;"Driver version is invalid, connection: MySQLDB, connection_type: mysql."&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asabari1994_1-1675763034133.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23747i53A4D0C0532386F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="asabari1994_1-1675763034133.png" alt="asabari1994_1-1675763034133.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;MySQL DB version is 8.0.23 and it's an AWS Aurora RDS instance. I did try "Splunk DBX Add-on for MySQL JDBC" to install the driver before and I had the same issue. I saw that the driver that came with this app was of a lower version than what we use in our application to connect to the database, so installed the new driver directly.&lt;/P&gt;
&lt;P&gt;Also while trying to execute a query I am getting the error "&lt;SPAN&gt;Error in 'dbxquery' command: External search command exited unexpectedly with non-zero error code 1."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please help to resolve this error.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Arun&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 23:32:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Getting-error-quot-Driver-version-is-invalid-quot-for-a-MySQL/m-p/629865#M15322</guid>
      <dc:creator>asabari1994</dc:creator>
      <dc:date>2023-02-07T23:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "Driver version is invalid" for a MySQL connection even if driver is installed?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Getting-error-quot-Driver-version-is-invalid-quot-for-a-MySQL/m-p/709095#M21341</link>
      <description>&lt;P&gt;Did you ever get this resolved? Seeing a similar issue.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 16:17:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Getting-error-quot-Driver-version-is-invalid-quot-for-a-MySQL/m-p/709095#M21341</guid>
      <dc:creator>keithwdesantis</dc:creator>
      <dc:date>2025-01-17T16:17:29Z</dc:date>
    </item>
  </channel>
</rss>

