You are just getting started with MySQL on OpenSolaris. You've installed the OpenSolaris Community Edition and CoolStack MySQL. To explore this new environment you decide to run some tests using the sysbench benchmark. After running a number of tests you realize that for some reason the options you are setting in /etc/my.cnf are not getting used.
What is going on? Not to worry, you've just hit a problem common to new users of MySQL on OpenSolaris.
Run this command:
# /opt/coolstack/mysql/bin/mysqladmin | more
page down until you see:
Default options are read from the following files in the given order: /etc/my.cnf /etc/mysql/my.cnf /opt/coolstack/mysql/etc/my.cnf ~/.my.cnf
This shows …
[Read more]