argor

   :: 首页  :: 新随笔  :: 联系 ::  :: 管理

随笔分类 -  MySQL

摘要:6.2.4 Specifying Account Names 账户名称 语法:'user_name'@'host_name' 不包含特殊字符(空格)、通配符(%)时,可以不用引号 View Code 账户保存 保存到user表(全局权限); 其他授权表拥有一致的用户信息(Host、User) 用户名 阅读全文
posted @ 2020-04-01 20:33 argor 阅读(272) 评论(0) 推荐(0)

摘要:MySQL 配置示例 MySQL数据库只读 SHOW GLOBAL VARIABLES LIKE "%read_only%"; FLUSH TABLES WITH READ LOCK; SET GLOBAL READ_ONLY=1; View Code MySQL 配置示例 阅读全文
posted @ 2020-03-16 11:07 argor 阅读(169) 评论(0) 推荐(0)

摘要:选项配置 [client] default-character-set=utf8 [mysqld] character_set_server=utf8 character_set_client=utf8 在 MySQL 中查看字符集,字符集跟当前环境有关 mysql> use db01 Databa 阅读全文
posted @ 2018-07-06 15:22 argor 阅读(236) 评论(0) 推荐(0)

摘要:1.mysql 2.show 3.select 4.数据处理函数 5.多表-连接查询 6.子查询 7.查询分页 8.约束 9.事务 10.视图 11.存储例程 12.流程控制 13.数据类型 last 附表:scott USE `hope`; DROP TABLE IF EXISTS `bonus` 阅读全文
posted @ 2018-06-15 21:37 argor 阅读(335) 评论(0) 推荐(0)