Planned maintenance has been done but it did not solve the problem. So work will continue on this and a new time for trying updates will be announced asap.
QMYSQL with SSL on Android
Hi. I have a mobile application which connects to a MySQL server. I would like to have the connection encrypted, so I'm doing as the documentation says:
The connections is established, but I can only perform one query. I always get a "Segmentation fault" error while performing a second query using the same connection. It works fine if I remove the SSL flag, and the same code also works fine on Windows, with or without SSL.
I'm using Qt 5.5.0 and libmysqlclient 6.1.5. At first I would say it's something related to the mysql client lib, but the fact that the same code works on Windows makes me wonder...
Has anyone already successfully used MySQL+SSL on Android? I'm not sure how to address this issue.
Just a wild guess, do you have OpenSSL build for Android ?
Hi. The libmysqlclient has an embedded ssl library (yassl). I went with it, but it's possible to use openssl... Maybe I should give it a try. I'll post the results here.
Where did you get that libmysqlclient ?
It's been some time now. I don't remember exactly, but I think it was most likely from here:
It's one of the official mirrors.