php / php/php-src

mysqlnd does not support `utf8mb3` charset

Open
#8,478 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #8480 by @cmb69 — closed without merging
Bug Extension: mysqlnd Status: Verified
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

see https://github.com/php/php-src/runs/6250284285?check_suite_focus=true#step:8:4209

Fetching results from tables of different charsets. [D:\a\php-src\php-src\ext\mysqli\tests\mysqli_character_set.phpt]
mysqli_options() [D:\a\php-src\php-src\ext\mysqli\tests\mysqli_options.phpt]
mysqli_set_charset() [D:\a\php-src\php-src\ext\mysqli\tests\mysqli_set_charset.phpt]

can someone advise how to fix the tests to be working /w MySQL 8.0?

PHP Version

PHP 8.0.x, and higher

Operating System

any

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CI run and inspect the failures in ext/mysqli/tests/mysqli_character_set.phpt, mysqli_options.phpt, and mysqli_set_charset.phpt. Compare their behavior with MySQL 8.0 and determine the required compatibility change; done means these tests work with utf8mb3 and MySQL 8.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, mysql, php
Domain
databases, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.