Typo in error message when MySQL socket connection fails

Created on 17 October 2024, about 1 month ago

Problem/Motivation

When Drupal attempts (and fails) to connect to a MySQL server via a socket - for example, when a suitable value isn't provided for username/password in the relevant settings.php file - the error message uses the phrase `TPC/IP` when it should probably be `TCP/IP`.

Steps to reproduce

Set up a Drupal site with an empty string for host, username and password in the default database connection then visit the site in a browser and review the error message.

Proposed resolution

Alter the text in the MySQL connection class to use `TCP/IP` in this message.

Remaining tasks

Create issue fork and MR with the necessary changes.

User interface changes

The text in the error message should be changed.

Introduced terminology

None.

API changes

None.

Data model changes

None.

Release notes snippet

N/A

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

mysql db driver

Created by

🇬🇧United Kingdom tomdearden

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024