
MySQL
文章平均质量分 51
MySQL
xsjCoding
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mysql存储过程记录
存储过程原创 2022-08-23 17:11:01 · 282 阅读 · 0 评论 -
MySQL锁问题
原创 2020-07-30 14:52:11 · 111 阅读 · 0 评论 -
MySQL应用优化
原创 2020-07-30 11:21:39 · 111 阅读 · 0 评论 -
MySQL索引的使用
using index conditoin 意味着查询列的某一部分无法直接使用索引, 索引下推 https://dev.mysql.com/doc/refman/5.6/en/nested-join-optimization.html 可以通过覆盖索引来解决原创 2020-07-30 08:12:38 · 106 阅读 · 0 评论 -
MySQL执行计划
null system const eq_ref ref index all password没有索引, 且前面使用了*, 使用文件排序 name有索引, 前面的查询不能用*, 否则不走索引 没有索引, 出现了临时表和文件排序原创 2020-07-30 08:10:23 · 155 阅读 · 0 评论 -
MySQL基本概念
原创 2020-07-30 08:09:26 · 123 阅读 · 0 评论 -
mysql数据库用户授权
1.创建数据库 create database test; 2.远程连接数据库时报错: The specified user/password combination is rejected: [28000][1045] Access denied for user 'test'@'%' (using password: YES) 创建完数据库后,用户需要授权.原创 2018-01-18 21:20:52 · 14764 阅读 · 0 评论 -
命令行创建mysql数据库
命令行创建mysql数据库1.win+R打开dos窗口,进入mysql/bin目录下,输入命令mysql -u root -p,回车后输入密码.2.create database 数据库名;3.grant all on test.* to 'test'@'%' identified by '123456' with grant option;第一个test是数据库名,第二个test是账户名,123...原创 2018-03-21 21:06:33 · 421 阅读 · 0 评论 -
Mysql修改root密码
1.停止sql服务.2.命令行方式启动sqlmysqld –skip-grant-table3.直接进入root用户,此时无需密码mysql -u root4.切换到mysql数据库中.use mysql5.修改密码,5.7版本的密码字段已经变成authentication_string了.update mysql.user set authentication_string = password...原创 2018-05-25 13:09:03 · 1274 阅读 · 0 评论