Make WordPress Core

Opened 13 years ago

Closed 13 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:


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 13 years ago.

Download all attachments as: .zip

Change History (3)

#1 @Dinini
13 years ago

  • Patch set to No

#2 @matt
13 years ago

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

13 years ago

Note: See TracTickets for help on using tickets.