摘要: mysql如何设置密码 有很多方法: 1.用root 进入mysql后 mysql>set password =password('你的密码'); mysql>flush privileges; 2.使用GRANT语句 mysql>grant all on *.* to 'root'@'localh 阅读全文
posted @ 2016-10-18 17:11 jetlin 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 当在安装mysql服务时,有时会遇到恶心的PID错误而导致安装后无法启动以下为针对mysql-5.5版本在安装mysql时所遇到的问题的解决方法。 1.可能是/usr/local/mysql/data/rekfan.pid文件没有写的权限解决方法 :给予权限,执行 “chown -R mysql:m 阅读全文
posted @ 2016-10-18 16:58 jetlin 阅读(201) 评论(0) 推荐(0) 编辑
摘要: root@lujie ~]# vim /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # en 阅读全文
posted @ 2016-10-18 16:50 jetlin 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1.下载:MySQL-pythonhttp://sourceforge.net/projects/mysql-python/files/mysql-python-test/1.2.3b1/MySQL-python-1.2.3b1.tar.gz/downloadtar -zxf MySQL-pytho 阅读全文
posted @ 2016-10-18 15:29 jetlin 阅读(1578) 评论(0) 推荐(0) 编辑