WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#667 closed enhancement (wontfix)

mysqli support

Reported by: Dinini Owned by: matt
Milestone: Priority: normal
Severity: normal Version: 1.5
Component: General Keywords:
Focuses: Cc:

Description

This has worked for me for the past month with no errors. But I cannot promise this will work fo anyone else. I'm submitting this in case it might help someone else.

wp-settings.php, check for mysqli extension as well as mysql. If mysqli is loaded use the alternate wp-db-mysqli.php file instead of wp-db.php.

wp-includes/wp-db-mysqli.php, only changes from wp-db.php are to convert mysql functions to mysqli functions. The function replacement does not appear to affect the code currently in place.

Attachments (1)

wp-mysqli.patch (11.1 KB) - added by Dinini 9 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 Dinini9 years ago

  • Patch set to No

comment:2 matt9 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 90
  • Status changed from new to closed

Dinini9 years ago

Note: See TracTickets for help on using tickets.