The Docker only simplifies the setup of a Ubuntu container, which can be
doen in any way someone prefers. The actual DB setup at the target was
missing from the test steps.
Using two LXD containers with Bionic (as in your docker file) like:
$ lxc launch ubuntu-daily:b b1
$ lxc exec b1 bash
On one container I installed mysql
$ apt install mysql-server
Then I set the expected root PW
$ mysqladmin --user=root password "pwd"
Then I created the expected DB name
$ mysql -u root -p
mysql> CREATE DATABASE mydb;
---
The IP of that system I set up as "mysql" in the /etc/hosts of the other
container.
There I compiled the test program as instructed and ran it.
But it simply fails to connect and I had no intend to debug that much
further.
---
I tried a bit further like local connections and such, but really you
have spent so much great effort (thanks!) to outline your issue in the
client that I'd hate to miss that due to the server setup being unclear.
If you could add the steps for the server part as well that would be
most helpful.
** Changed in: mysql-5.7 (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1818985
Title:
segfault in libmysqlclient when reconnecting using QMYSQL
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1818985/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs