make && make install完畢後,
執行:
cp support-files/my-medium.cnf /etc/my_crm.cnf
vi /etc/my_crm.cnf
[clIEnt]
#password = your_passWord
port = 3308
socket = /usr/local/mysql/tmp/MySQL.sock# Here follows entrIEs for some specific programs# The MySQL Server
[MySQLd]
port = 3308
socket = /usr/local/mysql/tmp/MySQL.sock
basedir = /usr/local/MySQL
datadir = /usr/local/MySQL/data
pid-file = /usr/local/MySQL/pid-file.pid
skip-locking
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
scripts/mysql_install_db --defaults-file=/etc/my_crm.cnf --basedir=/usr/local/mysql/ --datadir=/usr/local/MySQL/data
啟動MySQL:
/usr/local/mysql/bin/MySQLd_safe --defaults-file=/etc/my_crm.cnf &
clIEnt連接MySQL:
/usr/local/mysql/bin/mysql Curoot Cp CS /usr/local/mysql/tmp/MySQL.socket
遠程連接:
MySQL Curoot Cp CP 3308 Ch 192.168.2.129