Thank you for pointing out!

I've updated the README at https://github.com/tskardal/mysigsegv. Here
are the important parts:

* First install a MySQL server somewhere (I have it installed on my host OS 
which is macOS).
  * I've tested both 5.7 and 8.0

* Create a empty database and grant access to it

```
CREATE DATABASE testdb;
CREATE USER testusr@'%' IDENTIFIED BY 'testusr';
GRANT ALL PRIVILEGES ON testdb.* TO testusr@'%';
```

* Edit the source code (main.cpp) so that mysql connection information
is correct

```
auto host = "192.168.137.42"; // change this if you used the SQL statements 
above
auto user = "testusr";
auto pwd = "testusr";
auto dbName = "testdb";
```

* Build and run the application

```
mkdir build
cd build/
qmake ../mysigsegv.pro
make
./mysigsegv
```

* 💥

** Changed in: mysql-5.7 (Ubuntu)
       Status: Incomplete => New

-- 
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

Reply via email to