随笔分类 -  Mysql

摘要:mysql 忘记密码: 1、首先service mysql stop mysqld --skip-grant-tables & 开启数据库 然后就可以mysql -uroot 直接进数据库, update mysql.user set Password=PASSWORD('xxxxxxx') whe 阅读全文
posted @ 2017-03-13 10:36 我是地瓜 阅读(235) 评论(0) 推荐(0)
摘要:mysql> use mydb Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A 访问数据 阅读全文
posted @ 2017-01-10 14:06 我是地瓜 阅读(375) 评论(0) 推荐(0)
摘要:卸载:apt-get autoremove --purge mysql-server-5.1 卸载服务端 apt-get remove mysql-common #一定要卸载(包含配置文件) dpkg -P mysql-common 清除残留 apt-get remove mysql-server- 阅读全文
posted @ 2017-01-10 10:10 我是地瓜 阅读(166) 评论(0) 推荐(0)
摘要:修改/etc/mysql/my.cnf 配置文件: 最后重启mysql 服务,再查看: 编码已经改好了,可以支持中文字符编码了。 阅读全文
posted @ 2017-01-07 16:09 我是地瓜 阅读(1158) 评论(0) 推荐(0)

AmazingCounters.com
点击右上角即可分享
微信分享提示