安装两个mysql 端口不同

./configure --prefix=/usr/local/mysql3307 --sysconfdir=/usr/local/mysql3307/etc --with-tcp-port=3307 --localstatedir=/ssdc/mysqldata --with-mysqld-user=mysql --enable-assembler --datadir=/ssdc/mysqldata --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --with-unix-socket-path=/usr/local/mysql3307/mysql.sock --with-charset=utf8 --with-collation=utf8_general_ci --with-extra-charsets=all

 
 

/usr/local/mysql3307/bin/mysql_install_db --user=mysql --datadir=/ssdc/mysqldata