<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problem with MySQL driver on Ubuntu server]]></title><description><![CDATA[<p dir="auto">Hi, I am having problem installing the MySQL driver. I get the following error:<br />
<em>The MySQL Connector JAR is missing from your deployment and if you would like to use MySQL, you must manually install the MySQL Connector JAR.</em></p>
<p dir="auto">The OS is Ubuntu 20.04.5 LTS.<br />
MySQL server is version 8.0.32-0ubuntu0.20.04.2<br />
I've downloaded the driver from the Oracle site - mysql-connector-j-8.0.32.deb and installed it with dpkg.<br />
I've even copied the driver .jar file to the /fusionauth/fusionauth-app/lib folder.<br />
Always the same error. <img src="https://fusionauth.io/community/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=rcgg4tg866g" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto">I am <em>this</em> close to giving up. Please, help</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2363/problem-with-mysql-driver-on-ubuntu-server</link><generator>RSS for Node</generator><lastBuildDate>Wed, 16 Sep 2026 09:46:18 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2363.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Apr 2023 08:52:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem with MySQL driver on Ubuntu server on Sun, 25 Feb 2024 11:18:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a> I know this is old thread and OP didn't reply. But I have same issue and I did see mysql Connector when I echo $CLASSPATH in script .. I am getting that It cannot access database. I am using Connector 8.0.33 but my mysql is 5.7 is that a problem? Because I check authentication setting to mysql and using PHP Script I can connect fine but not from fusionAuth 1.48</p>
]]></description><link>https://fusionauth.io/community/forum/post/7081</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7081</guid><dc:creator><![CDATA[truearrowsoftware]]></dc:creator><pubDate>Sun, 25 Feb 2024 11:18:36 GMT</pubDate></item><item><title><![CDATA[Reply to Problem with MySQL driver on Ubuntu server on Fri, 14 Apr 2023 03:00:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/2376">@vordan</a> Sorry to hear this! We have other folks running with MySQL, so I'm not sure what your particular issue is.</p>
<p dir="auto">Can you echo <code>$CLASSPATH</code> in <code>start.sh</code> to ensure the mysql library is being picked up?</p>
<p dir="auto">Here's an excerpt of <a href="http://start.sh" rel="nofollow ugc">start.sh</a>:</p>
<pre><code># Start it up
echo "Starting fusionauth-app..."
echo "  --&gt; Logging to ${LOG_DIR}/fusionauth-app.log"
cd "${APP_DIR}"

CLASSPATH=""
for file in lib/*; do
  CLASSPATH=${CLASSPATH}:${file}
done
CLASSPATH=${CLASSPATH:1}

if &lsqb;&lsqb; ${1} == "--debug" &rsqb;&rsqb;; then
</code></pre>
<p dir="auto">Add <code>echo $CLASSPATH</code> on a new line after <code>CLASSPATH=${CLASSPATH:1}</code>. Do you see your mysql lib file?</p>
]]></description><link>https://fusionauth.io/community/forum/post/6067</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6067</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Fri, 14 Apr 2023 03:00:03 GMT</pubDate></item></channel></rss>