简体   繁体   中英

O_Direct in my.ini startup crash

I am searching high and low to solve our database speed problem.

When I try to use:

innodb_flush_method=O_DIRECT

In my my.ini file, the MySQL service fails to start. I can not find anywhere on Google where others are having this same error.

Can anyone tell me how I can get this directive to work?

Based on the filename my.ini you specified, I have to assume you're on Windows. The O_DIRECT option is only available on Linux, FreeBSD, and Solaris. See the MySQL manual section on innodb_flush_method for more details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM