# [VOTE] RFC: Remove support for libmysql from mysqli

- Thread: https://externals.io/message/116910
- Original archive: https://news-web.php.net/php.internals/116910
- Started by Kamil Tekiela on 2022-01-22T18:40:36+00:00
- Messages: 4
- RFC: Remove support for libmysql from mysqli (Implemented (PHP 8.2)) — https://externals.io/rfc/mysqli_support_for_libmysql.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #116910 — Kamil Tekiela — 2022-01-22T18:40:36+00:00

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

Hi Internals,

I have opened voting on https://wiki.php.net/rfc/mysqli_support_for_libmysql
Voting ends in 2 weeks.

Kind regards,
Kamil

---

## #116983 — Kamil Tekiela — 2022-02-05T15:10:20+00:00

URL: https://externals.io/message/116910#116983 · In reply to: #116910

The voting has now ended. The RFC has been unanimously accepted (30/0).

Since PHP 8.2 it will not be possible to compile mysqli with libmysql.

Kind regards,
Kamil

---

## #116984 — Hans Henrik Bergan — 2022-02-05T19:07:04+00:00

URL: https://externals.io/message/116910#116984 · In reply to: #116983

good job! can we do PDO_MYSQL next? if that also goes away (seems likely),
all libmysqlclient-specific code can be removed i think



> The voting has now ended. The RFC has been unanimously accepted (30/0).
>
> Since PHP 8.2 it will not be possible to compile mysqli with libmysql.
>
> Kind regards,
> Kamil

---

## #116985 — Kamil Tekiela — 2022-02-05T19:26:03+00:00

URL: https://externals.io/message/116910#116985 · In reply to: #116984

> good job! can we do PDO_MYSQL next? if that also goes away (seems likely),
all libmysqlclient-specific code can be removed i think

Feel free to create an RFC. I was only interested in doing this for mysqli
because that's where I saw value in doing it. The support for libmysql was
causing problems for mysqli and removing it is definitely an improvement.
PDO doesn't have such burning issues and the existing code works almost as
well as with mysqlnd. But I would vote in favour of dropping libmysql
support for PDO too.

Regards,
Kamil
