Skip to content

Instantly share code, notes, and snippets.

@koke
Created March 18, 2009 17:42
Show Gist options
  • Save koke/81276 to your computer and use it in GitHub Desktop.
Save koke/81276 to your computer and use it in GitHub Desktop.
[mysqld_multi]
mysqld = /usr/local/mysql/bin/mysqld_safe
mysqladmin = /usr/local/mysql/bin/mysqladmin
user = root
[mysqld1]
datadir=/usr/local/mysql/data1
port=3307
server-id=2
pid-file=/usr/local/mysql/data1/mysql.pid
[mysqld2]
datadir=/usr/local/mysql/data2
port=3308
server-id=3
pid-file=/usr/local/mysql/data2/mysql.pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment