Perhaps the easiest solution would be adding version specific [mysqld] sections to my.cnf to maintain backwards compatibility regardless of the version, e.g.:
[mysqld-5.0]
log = ...
[mysqld-5.5]
general-log = ON
general-log-file = /home/psce/sandboxes/rsandbox_mysql-5_6_10/master/data/msandbox.log
Perhaps the easiest solution would be adding version specific [mysqld] sections to my.cnf to maintain backwards compatibility regardless of the version, e.g.:
[mysqld-5.0]
log = ...
[mysqld-5.5] sandboxes/ rsandbox_ mysql-5_ 6_10/master/ data/msandbox. log
general-log = ON
general-log-file = /home/psce/
and so on...