Database Administration

Table of Contents

42. The MySQL Server and Server Startup Scripts
Overview of the Server-Side Scripts and Utilities
mysqld-max, An Extended mysqld Server
mysqld_safe, The Wrapper Around mysqld
mysql.server, A Server Startup Script for Run Directories
mysqld_multi, A Program for Managing Multiple MySQL Servers
43. Configuring MySQL
mysqld Command-line Options
The Server SQL Mode
44. General Security Issues and the MySQL Access Privilege System
Implications of Password Hashing Changes for Application Programs
General Security Guidelines
How to Make MySQL Secure Against Crackers
Startup Options for mysqld Concerning Security
Security issues with LOAD DATA LOCAL
What the Privilege System Does
How the Privilege System Works
Privileges Provided by MySQL
Connecting to the MySQL Server
Access Control, Stage 1: Connection Verification
Access Control, Stage 2: Request Verification
Password Hashing in MySQL 4.1
Causes of Access denied Errors
45. MySQL User Account Management
MySQL Usernames and Passwords
When Privilege Changes Take Effect
Setting Up the Initial MySQL Privileges
Adding New Users to MySQL
Deleting Users from MySQL
Limiting user resources
Setting Up Passwords
Keeping Your Password Secure
Using Secure Connections
Basics
Requirements
Setting Up SSL Certificates for MySQL
SSL GRANT Options
SSL Command-line Options
Connecting to MySQL Remotely from Windows with SSH
46. Disaster Prevention and Recovery
Database Backups
Using myisamchk for Table Maintenance and Crash Recovery
myisamchk Invocation Syntax
General Options for myisamchk
Check Options for myisamchk
Repair Options for myisamchk
Other Options for myisamchk
myisamchk Memory Usage
Using myisamchk for Crash Recovery
How to Repair Tables
Table Optimization
Setting Up a Table Maintenance Regimen
Getting Information About a Table
47. MySQL Localization and International Usage
The Character Set Used for Data and Sorting
German character set
Non-English Error Messages
Adding a New Character Set
The Character Definition Arrays
String Collating Support
Multi-byte Character Support
Problems With Character Sets
48. The MySQL Log Files
The Error Log
The General Query Log
The Update Log
The Binary Log
The Slow Query Log
Log File Maintenance
49. Running Multiple MySQL Servers on the Same Machine
Running Multiple Servers on Windows
Starting Multiple Windows Servers at the Command Line
Starting Multiple Windows Servers as Services
Running Multiple Servers on Unix
Using Client Programs in a Multiple-Server Environment