Home > Database > Mysql Tutorial > body text

Mysql高级之权限检查原理_MySQL

WBOY
Release: 2016-06-01 13:04:24
Original
1145 people have browsed it

用户进行数据库操作分为两步:

1 是否有权限连接,根据host,name,password;

2 是否有权限进行CURD;

图示解说:

关于用户权限在哪里进行存放?

这样看:

\

mysql数据库里面有张user表:

\

\

就像普通CURD一样,这就可以登录控制啦!

\

注意在User表里面权限是全局性质的,

\

\

如果想针对某个表进行控制怎么办?记得db表吧,就是在这,

就不细说了:

\

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!