0基础linux运维教程 mysql数据库服务端

id,name,sub_time

1,第一篇,2015-03-01 11:31:21

2,第二篇,2015-03-11 16:31:21

select id from db1.t1;

select name from db1.t1;

select age from db1.t1;

*.*->mysql.user

grant all on *.* to 'egon'@'%' identified by '123';

db.*->mysql.db

grant all on db1.* to 'tom'@'%' identified by '123';

revoke select on db1.* from 'tom'@'%';

db1.blog->mysql.tables_priv

grant all on db1.blog to 'lili'@'%' identified by '123';

db1.blog->mysql.columns_priv, update权限依赖select权限

grant select (id,sub_time),update (id) on db1.blog to 'xxx'@'%' identified by '123';

all包含grant权限

grant all on *.* to yyy@'%' identified by '123' with grant option;

grant all on *.* to zzz@'%' identified by '123' with max_user_connections 2;

create database db2;

use db2;

create table t1(id int)engine=myisam;

create table t2(id int)engine=myisam;

insert t1 values(1),(2),(3);

insert t2 values(1),(2),(3);

mysql数据库服务端---》innodb存储引擎--》用户态内存空间

操作系统------------》文件系统--------》os cache

计算机硬件----------》硬盘------------》硬盘结构

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容