Comments (1)
Wow, was that easy! Ok, it turns out on Windows 10 all you have to do is copy the contents of the MySQL driver files (all of them, with the sqldriver folder) into the dist/app folder created when you run PyInstaller. After that you can run the app.exe file PyInstaller created in the same folder and you are off and running.
As a point of reference, I followed the deployment instructions in the following tutorial:
https://www.pythonguis.com/tutorials/packaging-pyqt5-pyside2-applications-windows-pyinstaller/
Hope this helps the next person who needs to do this.
from qt_mysql_driver.
Related Issues (20)
- 5.15.4 version? HOT 2
- MySQL: Unable to set the client character set to utf8 (""). Using 'utf8' instead. HOT 4
- OCI Driver HOT 2
- this is awesome HOT 1
- Qt5.9.9 MinGW 32bit? HOT 1
- Qt 6.2.3 HOT 2
- Could I share the Github file links? HOT 2
- How to use with PySide6? HOT 3
- 6.3.0测试过了,不起作用,找不出原因,请帮忙确认是否有人用过,谢谢 HOT 3
- mysql version
- Android MySQL HOT 3
- Thanks very much! qt6 version i can find neither mysql driver source code nor the mysql driver. It's useful to me! successed already HOT 1
- QSqlDriver::hasFeature(Transactions) returns false HOT 3
- Where are the QMYSQL drivers trying to find MySQL? HOT 6
- Any shot of getting a release for 5.15.7 HOT 3
- Compatibility question HOT 1
- QMySqlDrivers not Working HOT 6
- Driver not loaded error. Are the plugins debug or release plugins? HOT 2
- the version of the sqldrivers in "qsqlmysql.dll driver 5.13.2 + libmysql MySQL 8.0" is actually 5.14.2 ! HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qt_mysql_driver.