dynamically link libmysql.dll