# MySQL thread safety issue

- Thread: https://externals.io/message/846
- Original archive: https://news-web.php.net/php.internals/846
- Started by Wojtek Meler on 2003-04-11T06:44:00+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #846 — Wojtek Meler — 2003-04-11T06:44:00+00:00

URL: https://externals.io/message/846#846

Current ext/mysql uses libmysqclient.so if you give it path to libraries.
In ZTS it should use libmysqlclient_r.so which is reentrant version of
MySQL library (I have `SIGSEGV` with libmysqlclient.so). I've made a patch 
on config.m4. See attached file.

regards,
Wojtek
