#34692 closed defect (bug) (fixed)
Unknown system variable storage_engine when running tests in MySQL 5.7
| Reported by: | jeremyfelt | Owned by: | pento |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.5 |
| Component: | Build/Test Tools | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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
@
11 years ago
Got this same error today. Note: am using Laravel Homestead with MySQL 5.7.9.
How do i solve this problem?
#6
@
11 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
default_storage_enginewas added in MySQL 5.5.3, so this will fail on older MySQL versions.