MySQL相关文章索引(7)
2018-08-23 本文已影响0人
司小幽
环境部署
1.CentOS 7.4下使用yum安装MySQL5.7.20 最简单的
2.Navicat for MySQL 64位破解版
基本常识
insert into persons
(id_p, lastname , firstName, city )
values
(200,'haha' , 'deng' , 'shenzhen'),
(201,'haha2' , 'deng' , 'GD'),
(202,'haha3' , 'deng' , 'Beijing');
- mySQL中replace的用法
- 多个连续的left join连接顺序验证
-
MySQL命令行中给表添加一个字段(字段名、是否为空、默认值)
alter table test add column birth date;
-
在mysql中修改表名的sql语句
ALTER TABLE table_name RENAME TO new_table_name
- mysql增加列,修改列名、列属性,删除列语句
Debug
-
Mysql 5.7 忘记root密码或重置密码的详细方法
update user set authentication_string=password('123456') where user='root';
- mac mysql error You must reset your password using ALTER USER statement before executing this statement.
- ERROR 1819 (HY000): Your password does not satisfy the current policy requirements