Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years 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
3 years 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.


3 years ago
#2

  • Keywords has-patch added

#3 @audrasjb
3 years 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
3 years ago

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

#5 @audrasjb
3 years ago

Related: #41490

#6 @hellofromTonya
3 years ago

  • Keywords commit added

Marking PR 2045 for commit.

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

#7 @audrasjb
3 years ago

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

#8 @audrasjb
3 years 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
3 years 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.