<div dir="ltr">hi<div><br></div><div>When I create a virtual environment and loaded PyQt5 into it, I realized that I cannot access MySQL database through  <font color="#000000"><span style="background-color:rgb(255,255,255)"><span style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:11px;white-space:pre">QSqlDatabase</span><span style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:11px;white-space:pre">.</span><span style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:11px;white-space:pre">addDatabase</span><span style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:11px;white-space:pre">(</span><span style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:11px;white-space:pre">self</span><span style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:11px;white-space:pre">.</span><span style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:11px;white-space:pre">DBtype</span><span style="font-family:"Droid Sans Mono",monospace,monospace,"Droid Sans Fallback";font-size:11px;white-space:pre">)</span></span>,</font> checking I saw that the libsqlmysql.so driver is not present in the sqldrivers directory along with the others. I tried to search the internet for the file in question, and nothing on the <a href="http://qt.io">qt.io</a> website, and also on <a href="http://mysql.com">mysql.com</a> I can't find the file. if i use the one installed in my ubuntu 20.10 distribution it tells me that it is not compatible with the others. In a standard environment its does. Anyone have a solution to suggest?</div><div><br></div><div>Angelo</div></div>