cekong

导航

随笔分类 -  数据库

数据库笔记
摘要:nosql还是sql? MongoDB 入门篇 Redis 教程 MySQL之增删改查 MySQL之常用函数 阅读全文

posted @ 2019-04-12 11:04 cekong 阅读(105) 评论(0) 推荐(0)

mysql (_mysql_exceptions.OperationalError) (1055, "Expression #1 of SELECT list is not in GROUP BY clause
摘要:sudo gedit /etc/mysql/my.cnf在打开的my.cnf文件中添加 sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES 保存,退出 重启mysql:/etc/init.d/mysql restart 登录mysql:mysql 阅读全文

posted @ 2018-12-14 09:53 cekong 阅读(774) 评论(0) 推荐(0)

mysql知识积累
摘要:验证mysql工作状态 systemctl status mysql.service 启动 sudo systemctl start mysql 停止 service mysql stop 重启mysql:/etc/init.d/mysql restart 登录 mysql -u root -p 重 阅读全文

posted @ 2018-11-16 13:50 cekong 阅读(120) 评论(0) 推荐(0)

redis知识积累
摘要:redis 安装包:redis-3.0.6.tar.gz 打开 redis: cd /media/deepl/文档/ubuntutools/redis-3.0.6/src/ ./redis-server 进入redis: redis-cli -h 127.0.0.1 -p 6379 -a fooba 阅读全文

posted @ 2018-11-16 13:49 cekong 阅读(127) 评论(0) 推荐(0)

mongodb知识积累
摘要:1: 安装mongodb https://www.cnblogs.com/zhangdaicong/p/7492494.html 2:配置文件 vi /etc/mongodb.conf https://www.jianshu.com/p/83d0561f951e bind_ip = 127.0.0. 阅读全文

posted @ 2018-11-16 13:41 cekong 阅读(113) 评论(0) 推荐(0)