So you have /var/db/mysql and /var/db/mysql1
Change
<code text> port = <The port you want the first mysql to listen to> bind-address = <The ip you want the first mysql to bind to> </code>
Change
port = <The port you want the second mysql to listen to> bind-address = <The ip you want the second mysql to bind to>
/usr/local/bin/mysqld_safe --bind-address=<The ip address you want to bind the second mysql server to> --user=mysql --socket=/tmp/mysql1.sock --datadir=/var/db/mysql1 --pid-file=/var/run/mysql1.pid &
This works great for n number of mysql servers. Tested and working on one of my live servers.