#34692 closed defect (bug) (fixed)
Unknown system variable storage_engine when running tests in MySQL 5.7
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
The MySQL system variable storage_engine
was removed in 5.7 after being deprecated in 5.5. The following error is shown when running our tests with MySQL 5.7:
PHPUnit_Framework_Exception: WordPress database error Unknown system variable 'storage_engine' for query SET storage_engine = INNODB
It looks like we should be able to convert our use to default_storage_engine
when setting up WordPress for unit tests.
Related #30462
Attachments (2)
Change History (10)
#2
@
8 years ago
Got this same error today. Note: am using Laravel Homestead with MySQL 5.7.9.
How do i solve this problem?
#4
@
7 years ago
- Owner set to pento
- Resolution set to fixed
- Status changed from new to closed
In 36055:
#6
@
7 years ago
@pento If this is backported to 4.4.1, would that mean 4.4.1 would completely support MySQL 5.7?
Note: See
TracTickets for help on using
tickets.
default_storage_engine
was added in MySQL 5.5.3, so this will fail on older MySQL versions.