22 lines
624 B
HTML
22 lines
624 B
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<html>
|
||
|
<head>
|
||
|
<link rel="Stylesheet" type="text/css" href="style.css">
|
||
|
<title>Server_Admin_MySQL</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<h3 id="toc_0.0.1">Grant User Privileges</h3>
|
||
|
<p>
|
||
|
<code>GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON database.<table|*> TO '<user>'@'<localhost|domain>';</code>
|
||
|
</p>
|
||
|
|
||
|
<h3 id="toc_0.0.2">View User Privileges</h3>
|
||
|
<p>
|
||
|
<code>SHOW GRANTS FOR '<user>'@'<localhost|domain>';</code>
|
||
|
</p>
|
||
|
|
||
|
</body>
|
||
|
</html>
|