Is it possible to programmatically (via. the SQL interface, a CLI tool, etc) check the values of options that are normally set in a MySQL server’s my.cnf file?
I have a suspicion that the server I’m using is reading the incorrect configuration file, and I’d like to be able to check what the values are actually set to.
You can access them via
SELECTstatements since they are exposed as global system variables.You can, obviously, do this via PHP or the CLI, or whatever.