数据库
GGSTU
good good study
day day up
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MySQL问题汇总以及解决方案
MySQL问题汇总以及解决方案 1. mysql5.7报错this is incompatible with sql_mode=only_full_group_by 报错信息: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is not functionally原创 2021-03-30 19:13:52 · 677 阅读 · 0 评论 -
mysql基本赋权命令
给具体访问的用户赋权 grant all privileges on . TO ‘root’@’%’ identified by ‘root的密码’ WITH GRANT OPTION; 使新赋予的权限生效 FLUSH PRIVILEGES;原创 2020-03-11 14:37:53 · 492 阅读 · 0 评论 -
Mac 安装完mysql,连接时出现Access denied for user ‘root‘@‘localhost‘ (using password: YES)
原因分析:root用户没有权限使用mysql。 解决方案:先禁止验证功能,再进去赋权。 具体步骤(偏好设置里关闭mysql服务): 使用终端进入到mysql的bin目录下。 cd /usr/local/mysql/bin (配置好环境变量的可跳过此步骤)。 输入 ./mysqld_safe --skip-grant-tables & 命令以禁止mysql验证功能,此时mysql会自动进行...原创 2020-02-25 11:33:12 · 1112 阅读 · 0 评论 -
连接MySQL数据库常见问题汇总
解决java.sql.SQLException: Access denied for user ‘root’@‘localhost’ (using password: YES) 解决办法: 数据库用户名或者密码错误: jdbc.driver_class com.mysql.jdbc.Driver jdbc.url jdbc:mysql://localhost:3306/mytest?useU...原创 2019-09-23 22:04:52 · 385 阅读 · 0 评论 -
Redis5.0安装步骤
Redis安装步骤 1.上传解压包 tar -zxvf redis-5.0.5.tar.gz 2.在命令行输入 make 命令进行编译 make 当出现以下提示证明编译成功 3.使用 make install 命令进行安装 make install 4.修改配置文件 vim /usr/local/redis-5.0-rc3/redis.conf 5. 启动Redis 6.实现端口监听 ...原创 2019-09-28 21:48:46 · 336 阅读 · 0 评论
分享