-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remote database xca 2.0.0-pre03 #11
Comments
I've also been investigating this issue, but no success, yet. |
I have no QT build environment for windows. Can I start xca with a debug/verbose switch from command line? If qsqlmysql.dll builds fine, it should be linked proper to the qt mysql libs, I guess. For Linux, libqsqlmysql.so is of course linked to libmysqlclient.so.18 or similar. This is perhaps the problem, if the mysqllib for windows has a wrong version or wrong path. Independently of that: Thanks a lot for your work! |
Hi,
Actually I don't build the QT libs and plugins but use the binaries (dll) from the Qt5 SDK for windows as i use the debian packages on linux.
On windows the actual mysql client dll must be installed additionally, me thinks....
On linux I'd use ldd to check the runtime dependencies of qsqlmysql.so. Maybe windows has a similar tool.
I tried to download and install the mysql client for windows and put the libmysql.dll into the XCA directory. But that was only a wild unsuccessful guess....
Cheers
Christian
Am 19. März 2018 22:26:19 MEZ schrieb dknubben <notifications@github.com>:
…I have no QT build environment for windows. Can I start xca with a
debug/verbose switch from command line? If qsqlmysql.dll builds fine,
it should be linked proper to the qt mysql libs, I guess. For Linux,
libqsqlmysql.so is of course linked to libmysqlclient.so.18 or similar.
This is perhaps the problem, if the mysqllib for windows has a wrong
version or wrong path.
Besides that: Thanks a lot for your work!
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#11 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
You need the 32bit libmysql.dll from the mysql connector mysql-connector-c-6.1.11-win32.msi package |
Yes, thank you. Now the connection to the remote database is working. But only with read access. It's not possible to insert new items. |
I have the same problem with mysql. This is most probably a version missmatch, which results in not supporting transactions. The libmysql.dll is version 6.1.1, while my server has version 5.3. See https://forum.qt.io/topic/58848/qmysql-transaction-support/6 In case of no transaction support, XCA will warn the user and continue without transactions. |
I tried the mariaDB-10 driver from https://downloads.mariadb.org/interstitial/mariadb-10.2.13/win32-packages/mariadb-10.2.13-win32.msi/from/http%3A//ftp.hosteurope.de/mirror/mariadb.org/?serve This driver will be part of the next XCA pre version. You may try it now with |
Fast response, thanks! |
- Snaha rozšírenia scard o PQ - Snaha rozšírenia PKCS chris2511#11 o PQ
If I try to open a remote connection to a MySQL database with xca 2.0.0-pre03 (Windows) this results in error "driver not loaded", perhaps of not loaded qsqlmysql.dll? No problem under linux (same version build from sources)
The text was updated successfully, but these errors were encountered: