摘要:
mysql> grant all privileges on *.* to 'master'@'%' identified by '3306' with grant option; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.01 sec) 阅读全文
摘要:
#允许本机IO iptables -A INPUT -i lo -j ACCEPT iptables -A OUTPUT -o lo -j ACCEPT #让自已的IP通过 iptables -A INPUT -s 10.0.10.0/24 -p all -j ACCEPT iptables -A INPUT -s 10.0.0.0/24 -p all -j ACCEPT #SSH ipta... 阅读全文
摘要:
[root@DB ~]# /usr/local/mysql/bin/mysqld --verbose --help |grep -A 1 'Default options' Default options are read from the following files in the given order: /etc/my.cnf /etc/mysql/my.cnf /usr/local... 阅读全文