Problem Summary: The HA MySQL patch adds a new variable called MYSQL_DATADIR in the mysql_config file. This new variable must point to the directory where the MySQL configuration file my.conf file is stored. If this variable is not configured correctly, the database preparation with mysql_register will fail.
Workaround: Point the MYSQL_DATADIR variable to the directory where the MySQL configuration file, my.conf is stored.