<?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[Mysql can&#x27;t connect on MacBook]]></title><description><![CDATA[<p dir="auto">QSqlDatabase: QMYSQL driver not loaded<br />
QSqlDatabase: available drivers: QSQLITE QODBC QODBC3 QPSQL QPSQL7<br />
I have this error I find solution on forum but that wasn't on MacBook someone know how can I fix this ?</p>
<p dir="auto">void MainWindow::on_pushButton_login_clicked()<br />
{</p>
<pre><code>QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
db.setHostName("127.0.0.1");
db.setUserName("root");
db.setPassword("aaaaa");
db.setDatabaseName("QTUSERS");

if(db.open()) {
    QMessageBox::information(this,"Connection", "Database connectet");
} else {
    QMessageBox::information(this,"Connection", "Database not found");
}
</code></pre>
<p dir="auto">}</p>
<p dir="auto">in pro I have sql..<br />
I have downloaded mysql community ,..</p>
]]></description><link>https://forum.qt.io/topic/118197/mysql-can-t-connect-on-macbook</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 16:01:14 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/118197.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Aug 2020 14:09:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Thu, 10 Sep 2020 19:52:31 GMT]]></title><description><![CDATA[<p dir="auto">The last message you showed screams about read-only filesystem so you are either trying to building in a location you have no access to or on a read-only drive.</p>
]]></description><link>https://forum.qt.io/post/616713</link><guid isPermaLink="true">https://forum.qt.io/post/616713</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 10 Sep 2020 19:52:31 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Wed, 09 Sep 2020 20:37:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a>  compile mysql look on previous screen have you discord i can show in discord it will be better</p>
]]></description><link>https://forum.qt.io/post/616568</link><guid isPermaLink="true">https://forum.qt.io/post/616568</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Wed, 09 Sep 2020 20:37:43 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Wed, 09 Sep 2020 20:09:16 GMT]]></title><description><![CDATA[<p dir="auto">So what exactly did not work ?</p>
]]></description><link>https://forum.qt.io/post/616562</link><guid isPermaLink="true">https://forum.qt.io/post/616562</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Wed, 09 Sep 2020 20:09:16 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Tue, 08 Sep 2020 21:44:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> /Users/macbook/Qt</p>
]]></description><link>https://forum.qt.io/post/616368</link><guid isPermaLink="true">https://forum.qt.io/post/616368</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Tue, 08 Sep 2020 21:44:48 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Mon, 07 Sep 2020 21:53:37 GMT]]></title><description><![CDATA[<p dir="auto">Where exactly did you install Qt on your machine ?</p>
]]></description><link>https://forum.qt.io/post/616182</link><guid isPermaLink="true">https://forum.qt.io/post/616182</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 07 Sep 2020 21:53:37 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Mon, 07 Sep 2020 21:41:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> my path its /Users/MacBook/Qt  i changed</p>
<p dir="auto">soo its my path look like this : /Users/macbook/Qt/5.15.0/clang_64/bin/qmake</p>
<p dir="auto">and still didnt work.</p>
]]></description><link>https://forum.qt.io/post/616180</link><guid isPermaLink="true">https://forum.qt.io/post/616180</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Mon, 07 Sep 2020 21:41:34 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Mon, 07 Sep 2020 18:44:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eternus">@<bdi>Eternus</bdi></a> said in <a href="/post/616042">Mysql can't connect on MacBook</a>:</p>
<blockquote>
<p dir="auto">a  change path.. with my own where is qt located.</p>
</blockquote>
<p dir="auto">What do you mean by that ?</p>
]]></description><link>https://forum.qt.io/post/616163</link><guid isPermaLink="true">https://forum.qt.io/post/616163</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 07 Sep 2020 18:44:07 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 06 Sep 2020 20:09:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> with qt online and 5.15 and ism localed in users/macbook a change path.. with my own where is qt located..</p>
]]></description><link>https://forum.qt.io/post/616042</link><guid isPermaLink="true">https://forum.qt.io/post/616042</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Sun, 06 Sep 2020 20:09:25 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 06 Sep 2020 19:53:13 GMT]]></title><description><![CDATA[<p dir="auto">Which version of Qt are you using to build your application ?<br />
Where did you install it ?<br />
How did you install it ?</p>
]]></description><link>https://forum.qt.io/post/616041</link><guid isPermaLink="true">https://forum.qt.io/post/616041</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 06 Sep 2020 19:53:13 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 06 Sep 2020 19:07:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> I have same error and in clan I don't have bin..</p>
]]></description><link>https://forum.qt.io/post/616034</link><guid isPermaLink="true">https://forum.qt.io/post/616034</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Sun, 06 Sep 2020 19:07:19 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 06 Sep 2020 19:00:05 GMT]]></title><description><![CDATA[<p dir="auto">For the version you installed using the Online Installer it's going to be <code>/Users/macbook/Documents/Qt/5.15.0/clang_64/bin/qmake</code>.</p>
]]></description><link>https://forum.qt.io/post/616033</link><guid isPermaLink="true">https://forum.qt.io/post/616033</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 06 Sep 2020 19:00:05 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 06 Sep 2020 18:05:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a><br />
I don't have there I only find this in qt folder but didnt work... its says me read only file system ..in usr/local I don't have</p>
<p dir="auto">/Users/macbook/Qt/5.15.0/Src/qtbase/src/plugins<br />
and there /Users/macbook/Qt/5.15.0/Src/qtbase/tests/auto/tools/qmake</p>
<p dir="auto">but didnt work</p>
]]></description><link>https://forum.qt.io/post/616023</link><guid isPermaLink="true">https://forum.qt.io/post/616023</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Sun, 06 Sep 2020 18:05:06 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 06 Sep 2020 17:49:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eternus">@<bdi>Eternus</bdi></a><br />
Hi<br />
They want you to type the full path for qmake inside the Qt 5.15.0 folder<br />
so first step is to use the search tool to find out where it is and then use the full path to it<br />
for the compiling.</p>
<p dir="auto">Might be<br />
/usr/local/opt/qt5<br />
but it depends on where you actually installed it.</p>
]]></description><link>https://forum.qt.io/post/616015</link><guid isPermaLink="true">https://forum.qt.io/post/616015</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Sun, 06 Sep 2020 17:49:37 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 06 Sep 2020 17:43:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonb">@<bdi>JonB</bdi></a> how can I fix ?</p>
]]></description><link>https://forum.qt.io/post/616012</link><guid isPermaLink="true">https://forum.qt.io/post/616012</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Sun, 06 Sep 2020 17:43:12 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Tue, 01 Sep 2020 20:07:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eternus">@<bdi>Eternus</bdi></a><br />
That is not using the full path to the <code>qmake</code> executable, that is <code>/qmake</code> which does not exist.  If you are a developer you need to understand about paths.</p>
]]></description><link>https://forum.qt.io/post/615355</link><guid isPermaLink="true">https://forum.qt.io/post/615355</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Tue, 01 Sep 2020 20:07:12 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Tue, 01 Sep 2020 18:56:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonb">@<bdi>JonB</bdi></a> <img src="https://ddgobkiprc33d.cloudfront.net/140a074e-4220-4056-89dd-5dcbe3fbbb30.png" alt="Screenshot 2020-09-01 at 20.55.21.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/615341</link><guid isPermaLink="true">https://forum.qt.io/post/615341</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Tue, 01 Sep 2020 18:56:38 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Tue, 01 Sep 2020 09:38:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eternus">@<bdi>Eternus</bdi></a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> wants you to use the full path to your <code>qmake</code> executable (nothing to do with MySQL) when you run your make command, like:</p>
<pre><code>&lt;path-to-qmake-in-your-Qt-distribution&gt;/qmake -- MYSQL_PREFIX=/usr/local/mysql
</code></pre>
<p dir="auto">He wants you to do that to make you run the exact right version of <code>qmake</code> which is in the Qt 5.15 installation area.  At the moment there is no <code>qmake</code> on your PATH.</p>
]]></description><link>https://forum.qt.io/post/615239</link><guid isPermaLink="true">https://forum.qt.io/post/615239</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Tue, 01 Sep 2020 09:38:58 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Tue, 01 Sep 2020 01:36:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> have you mean for mysql or what mysql its full path</p>
]]></description><link>https://forum.qt.io/post/615193</link><guid isPermaLink="true">https://forum.qt.io/post/615193</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Tue, 01 Sep 2020 01:36:13 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Mon, 31 Aug 2020 20:41:00 GMT]]></title><description><![CDATA[<p dir="auto">Use the full path to the executable.</p>
]]></description><link>https://forum.qt.io/post/615181</link><guid isPermaLink="true">https://forum.qt.io/post/615181</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 31 Aug 2020 20:41:00 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Mon, 31 Aug 2020 19:31:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> but I have qmake not found<br />
<img src="https://ddgobkiprc33d.cloudfront.net/67d73774-bc30-49a9-875d-557d57fced36.png" alt="Screenshot 2020-08-31 at 21.31.07.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.qt.io/post/615174</link><guid isPermaLink="true">https://forum.qt.io/post/615174</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Mon, 31 Aug 2020 19:31:14 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Mon, 31 Aug 2020 18:29:04 GMT]]></title><description><![CDATA[<p dir="auto">Use the qmake executable that comes with the Qt version you installed. You can't just mix and match.</p>
]]></description><link>https://forum.qt.io/post/615168</link><guid isPermaLink="true">https://forum.qt.io/post/615168</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 31 Aug 2020 18:29:04 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 30 Aug 2020 21:48:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a><br />
and if I do what I say its same with 5.15<br />
Trying source 1 (type sybaseEnv) of library tds ...</p>
<ul>
<li>cd /Users/macbook/Qt/5.15.0/Src/qtbase/src/plugins/sqldrivers/config.tests/tds &amp;&amp; /usr/local/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" 'QMAKE_USE += tds' 'QMAKE_LIBS_TDS = -lsybdb' /Users/macbook/Qt/5.15.0/Src/qtbase/src/plugins/sqldrivers/config.tests/tds</li>
<li>cd /Users/macbook/Qt/5.15.0/Src/qtbase/src/plugins/sqldrivers/config.tests/tds &amp;&amp; MAKEFLAGS= make</li>
</ul>
<blockquote>
<p dir="auto">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -O2 -std=gnu++11  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -w -fPIC  -I. -I/usr/local/Cellar/qt/5.15.0/mkspecs/macx-clang -o main.o main.cpp<br />
main.cpp:2:10: fatal error: 'sybfront.h' file not found<br />
#include &lt;sybfront.h&gt;<br />
^~~~~~~~~~~~<br />
1 error generated.<br />
make: *** [main.o] Error 1<br />
=&gt; source failed verification.<br />
test config.sqldrivers.libraries.tds FAILED</p>
</blockquote>
]]></description><link>https://forum.qt.io/post/615070</link><guid isPermaLink="true">https://forum.qt.io/post/615070</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Sun, 30 Aug 2020 21:48:25 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 30 Aug 2020 21:36:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a> if I not install qt with home-brew I have this :<br />
macbook@MacBook-Pro-uzivatela-Macbook sqldrivers % qmake -- MYSQL_PREFIX=/usr/local/mysql</p>
<p dir="auto">zsh: command not found: qmake<br />
macbook@MacBook-Pro-uzivatela-Macbook sqldrivers %</p>
]]></description><link>https://forum.qt.io/post/615068</link><guid isPermaLink="true">https://forum.qt.io/post/615068</guid><dc:creator><![CDATA[Eternus]]></dc:creator><pubDate>Sun, 30 Aug 2020 21:36:54 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql can&#x27;t connect on MacBook on Sun, 30 Aug 2020 19:17:07 GMT]]></title><description><![CDATA[<p dir="auto">You are building Qt 5.13.2. You installed Qt 5.15.0 using brew.</p>
]]></description><link>https://forum.qt.io/post/615066</link><guid isPermaLink="true">https://forum.qt.io/post/615066</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 30 Aug 2020 19:17:07 GMT</pubDate></item></channel></rss>