ERROR 2003 (HY000): Can't connect to MySQL server on
摘要:ERROR 2003 (HY000): Can't connect to MySQL server on '远程服务器' 解决办法:关闭远程服务器防火墙firewall <pre <code service iptables stop </pre </code
阅读全文
posted @
2015-10-23 00:19
geeky
阅读(182)
推荐(0)
linux下重启nginx
摘要:在nginx的早期版本,nginx重启需要通过kill命令向nginx发送信号来实现nginx的重启。
但是,现在,nginx增加了 s选项,实现nginx的停止,重新加载功能。
1. 如果是平滑的重启nginx,可以用./nginx s reload命令实现nginx的平滑重启。
2. 如果是非平...
阅读全文
posted @
2015-10-21 12:39
geeky
阅读(3649)
推荐(0)
查看MySQL的当前存储引擎
摘要:看你的mysql现在已提供什么存储引擎:<pre <code mysql show engines;</code </pre 看你的mysql当前默认的存储引擎:<code mysql show variables like '%storage_engine%';</code
阅读全文
posted @
2015-10-20 15:09
geeky
阅读(147)
推荐(0)
MySQL查看表占用空间大小
摘要:select table_name,data_length,concat(round(data_length/1024/1024,2),'MB') from information_schema.tables where table_name like 'dz_thread_feeds_%'
阅读全文
posted @
2015-10-20 11:10
geeky
阅读(156)
推荐(0)
使用Sequel Pro通过ssh远程连接MySQL出错:The SSH Tunnel has unexpectedly closed
摘要:Mac更新了EI Capitan系统后使用Sequel Pro通过ssh远程连接MySQL报错:The SSH Tunnel has unexpectedly closed,用万能的Stackoverflow搜索发现SQLPro to Vagrant connection issue(http://...
阅读全文
posted @
2015-10-09 11:10
geeky
阅读(1388)
推荐(0)