# Please, download the static libmysqlclient.a from MySQL Server 5.7.30
# or greater into this directory, and execute script for segfault case.
# Afterwards, you may verify correct execution by employing libmysqlclient.a from MySQL Server 5.7.29 (or lower).

g++ -shared mysql_connect.cpp libmysqlclient.a -o mysql_connect.so
g++ mysql_test.cpp -o mysql_test -ldl -lpthread
