<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0062)http://www.hdut.com/help/mysql5.1/database-administration.html -->
<HTML><HEAD><TITLE>Chapter 5. Database Administration</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR><LINK
title="MySQL 5.1 Reference Manual" href="index.html" rel=start><LINK
title="MySQL 5.1 Reference Manual" href="index.html" rel=up><LINK
title="Chapter 4. Using MySQL Programs"
href="using-mysql-programs.html" rel=prev><LINK
title="Chapter 6. Replication in MySQL" href="replication.html"
rel=next></HEAD>
<BODY>
<DIV class=chapter>
<DIV class=titlepage>
<DIV>
<DIV>
<H2 class=title><A
name=database-administration></A>第5章:数据库管理</H2></DIV></DIV></DIV>
<DIV class=toc>
<P><B>目录</B></P>
<DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#server-side-scripts">5.1.
MySQL服务器和服务器启动脚本</A></SPAN>
<DD>
<DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#server-side-overview">5.1.1.
服务器端脚本和实用工具概述</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#mysqld-max">5.1.2.
mysq<SPAN><STRONG class=command>ld-max扩展My</STRONG></SPAN>SQL服务器</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#mysqld-safe">5.1.3.
mysqld_safe:MySQL服务器启动脚本</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#mysql-server">5.1.4.
mysql.server:MySQL服务器启动脚本</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#mysqld-multi">5.1.5.
mysqld_multi:管理多个MySQL服务器的程序</A></SPAN></DT></DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#instance-manager">5.2.
mysqlmanager:MySQL实例管理器</A></SPAN>
<DD>
<DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#instance-manager-startup-process">5.2.1.
用MySQL实例管理器启动MySQL服务器</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#instance-manager-security">5.2.2.
连接到MySQL实例管理器并创建用户账户</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#instance-manager-command-line-options">5.2.3.
MySQL实例管理器命令行选项</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#instance-manager-configuration-files">5.2.4.
MySQL实例管理器配置文件</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#instance-manager-commands">5.2.5.
MySQL实例管理器识别的命令</A></SPAN></DT></DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#mysqld">5.3.
mysqld:MySQL服务器</A></SPAN>
<DD>
<DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#server-options">5.3.1.
<SPAN><STRONG class=command>mysqld</STRONG></SPAN>命令行选项</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#server-sql-mode">5.3.2.
SQL服务器模式</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#server-system-variables">5.3.3.
服务器系统变量</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#server-status-variables">5.3.4.
服务器状态变量</A></SPAN></DT></DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#mysql-fix-privilege-tables">5.4.
mysql_fix_privilege_tables:升级MySQL系统表</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#server-shutdown">5.5.
MySQL服务器关机进程</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#security">5.6.
一般安全问题</A></SPAN>
<DD>
<DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#security-guidelines">5.6.1.
通用安全指南</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#security-against-attack">5.6.2.
使MySQL在攻击者面前保持安全</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#privileges-options">5.6.3.
Mysqld安全相关启动选项<SPAN><STRONG class=command></STRONG></SPAN></A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#load-data-local">5.6.4.
LOAD DATA LOCAL安全问题<CODE class=literal></CODE></A></SPAN></DT></DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#privilege-system">5.7.
MySQL访问权限系统</A></SPAN>
<DD>
<DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#what-privileges">5.7.1.
权限系统的作用</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#privileges">5.7.2.
权限系统工作原理</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#privileges-provided">5.7.3.
MySQL提供的权限</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#connecting">5.7.4.
与MySQL服务器连接</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#connection-access">5.7.5.
访问控制, 阶段1:连接核实</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#request-access">5.7.6.
访问控制, 阶段2:请求核实</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#privilege-changes">5.7.7.
权限更改何时生效</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#access-denied">5.7.8.
拒绝访问错误的原因<CODE class=literal></CODE></A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#password-hashing">5.7.9.
MySQL 4.1中的密码哈希处理</A></SPAN></DT></DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#user-account-management">5.8.
MySQL用户账户管理</A></SPAN>
<DD>
<DL>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#user-names">5.8.1.
MySQL用户名和密码</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administration.html#adding-users">5.8.2.
向MySQL增加新用户账户</A></SPAN>
<DT><SPAN class=section><A
href="http://www.hdut.com/help/mysql5.1/database-administratio