I had once needed to run two MySQL servers from the same binary one with Transactional support and another without. The procedure followed is blogged here http://www.php-trivandrum.org/uncategorized/configure-two-mysql-server-and-connecting-php.html