摘要:
出现错误:Starting MySQL....The server quit without updating PID file检查错误文件: /var/lib/mysql/xxxx.err,根据其中的ERROR提示进行解决。my.cnf中的项名错误也会导致出现该错误。 阅读全文
posted @ 2014-06-10 16:55
zxpo
阅读(660)
评论(0)
推荐(0)
摘要:
db-server1 my.cnflog_bin = mysql-binbinlog_format = mixedserver_id = 1read-only = 0#binlog-do-db = db_name#binlog-ignore-db = mysqlauto_increment_incr... 阅读全文
posted @ 2014-06-10 16:02
zxpo
阅读(348)
评论(0)
推荐(0)
摘要:
1、Centos6.5默认开启了iptables当Centos6.5上安装了MySQL后,在远程连接它,如果出现10060的错误,说明iptables在起作用。关闭iptables即可,sudo service iptables stop。2、修改iptables放行某些端口TODO 阅读全文
posted @ 2014-06-10 11:19
zxpo
阅读(263)
评论(0)
推荐(0)
摘要:
如何显示所有的存储过程?select `name` from mysql.proc where db='db_name' and `type`='procedure';orshow procedure status;1、如何查看当前使用的数据库。select database();2、如何显示表的详... 阅读全文
posted @ 2014-06-10 10:51
zxpo
阅读(536)
评论(0)
推荐(0)

浙公网安备 33010602011771号