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.

Note

Operating system information are in version_compile_machine and version_compile_os variables.

Variable

Query

show variables 
where variable_name like 'version%'

Columns

  • 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