Make WordPress Core

Opened 18 months ago

Closed 18 months ago

Last modified 17 months ago

#54610 closed defect (bug) (fixed)

Update wording in regards to MySQL database

Reported by: ov3rfly's profile Ov3rfly Owned by: audrasjb's profile audrasjb
Milestone: 5.9 Priority: normal
Severity: normal Version:
Component: Upgrade/Install Keywords: has-patch commit
Focuses: docs Cc:

Description

Since a while WordPress is also able to work with MariaDB.

People now use MariaDB for new sites or change their existing sites to MariaDB for various reasons.

Currently wp-config-sample.php and also the instructions how to use it, contain many references to MySQL like MySQL database username, MySQL hostname, Example MySQL username etc.

This leads to confusion, e.g. if MariaDB settings would be entered elsewhere or similar.

All references to MySQL should be adjusted to a more general wording or have added MariaDB in some general descriptions like MySQL settings - You can get this info from your web host.

https://wordpress.org/support/article/editing-wp-config-php/

Change History (10)

#1 @audrasjb
18 months ago

Shouldn't we just replace "MySQL" with "SQL" so the comments/instructions could be software-agnostic?
Or do we need deeper changes?

This ticket was mentioned in PR #2045 on WordPress/wordpress-develop by audrasjb.


18 months ago
#2

  • Keywords has-patch added

#3 @audrasjb
18 months ago

Since it's a docs-only ticket, let's consider introducing this change in 5.9.

Plus, it would makes sense with [52319].

#4 @audrasjb
18 months ago

  • Component changed from General to Upgrade/Install
  • Milestone changed from Awaiting Review to 5.9

#6 @hellofromTonya
18 months ago

  • Keywords commit added

Marking PR 2045 for commit.

Changes MySQL to Database settings, which refers to either MySQL or MariaDB.

#7 @audrasjb
18 months ago

  • Owner set to audrasjb
  • Status changed from new to accepted

#8 @audrasjb
18 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 52367:

Docs: Use generic references to "Database" in wp-config-sample.php.

This replaces the references to "MySQL" info in the WordPress configuration sample file. Using the generic term "Database" now refers to either MySQL or MariaDB.

Props Ov3rfly, audrasjb, hellofromTonya.
Fixes #54610.

#10 @johnbillion
17 months ago

In 52423:

Docs: Further corrections and improvements to the inline documentation for wpdb.

See #53399, #54610

Note: See TracTickets for help on using tickets.