How to find operating system (OS) that MySQL database runs on

MySQL Database enables you to check type of oprating system on which it runs.


Operating system information are in version_compile_machine and version_compile_os variables.



show variables 
where variable_name like 'version%'


  • variable_name - variable name
  • value - value of the variable

Sample results

sample results

MySQL Workbench

In the Navigator pane to the left of the screen, click on the option Server Status to display the MySQL system information sample results

Comments are only visible when the visitor has consented to statistics cookies. To see and add comments please accept statistics cookies.
There are no comments. Click here to write the first comment.