2015年12月24日
摘要: 调试远程的时候,覆盖了本地的权限。导致 本地无法登陆系统表。 远程连接上mysql 执行以下命令恢复。恢复root 本地管理权限 使用空密码grant all on *.* to root@'localhost' identified by password '' with grant option... 阅读全文
posted @ 2015-12-24 19:37 日记本的回忆 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 如果在ubuntu/Debian下, 采用apt安装的PHP, 那么在使用Session的时候, 就可能会有小概率遇到这个提示.代码如下:PHP Notice: session_start(): ps_files_cleanup_dir:opendir(/var/lib/php5) failed: ... 阅读全文
posted @ 2015-12-24 14:09 日记本的回忆 阅读(1044) 评论(0) 推荐(0) 编辑
摘要: 系统通过netstat -ntlp 来查看正在运行服务所使用的端口 ,查看3306端口是否开启。防火墙iptables 如果是新装的 系统, 一般不用管这个因素,不过我们也先 用service iptables stop来 showdown它如果是编译安装的mysql , 不但需要 自行cp mys... 阅读全文
posted @ 2015-12-24 10:00 日记本的回忆 阅读(230) 评论(0) 推荐(0) 编辑