Book description
Step by step guide to monitor, manage, and secure your database engine
About This Book
- Your companion to master all the administration-related tasks in MySQL 8
- Ensure high performance and high availability of your MySQL solution using effective replication and backup techniques
- A comprehensive guide to performing query optimization, security and a whole host of other administrative tasks in MySQL 8
Who This Book Is For
This book is intended for MySQL administrators who are looking for a handy guide covering all the MySQL administration-related tasks. If you are a DBA looking to get started with MySQL administration, this book will also help you. Knowledge of the basic database concepts is required to get started with this book.
What You Will Learn
- Understanding different MySQL 8 data types based on type of contents and storage requirements
- Best practices for optimal use of features in MySQL 8
- Explore globalization configuration and caching techniques to improve performance
- Create custom storage engine as per system requirements
- Learn various ways of index implementation for flash memory storages
- Configure and implement replication along with approaches to use replication as solution
- Understand how to make your MySQL 8 solution highly available
- Troubleshoot common issues and identify error codes while using MySQL 8
In Detail
MySQL is one of the most popular and widely used relational databases in the world today. The recently released version 8.0 brings along some major advancements in the way your MySQL solution can be administered. This handbook will be your companion to understand the newly introduced features in MySQL and how you can leverage them to design a high-performance MySQL solution for your organization.
This book starts with a brief introduction to the newly introduced features in MySQL 8, followed by quickly jumping onto the crucial administration topics that you will find useful in your day to day work. Topics such as migrating to MySQL 8, MySQL benchmarking, achieving high performance by implementing the indexing techniques, and optimizing your queries are covered in this book. You will also learn how to perform replication, scale your MySQL solution and implement effective security techniques. A special section on the common and not so common troubleshooting techniques for effective MySQL administration is also covered in this book.
By the end of this highly practical book, you will have all the knowledge you need to tackle any problem you might encounter while administering your MySQL solution.
Style and approach
A Step by Step guide to understand all new features of MySQL 8 and leverage it while administering your MySQL 8 solution
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- An Introduction to MYSQL 8
-
Installing and Upgrading MySQL 8
- The MySQL 8 installation process
- Post-installation setup for MySQL 8
- Upgrading MySQL 8
- MySQL 8 downgrading
- Summary
-
MySQL 8 – Using Programs and Utilities
- Overview of MySQL 8 programs
-
MySQL 8 command-line programs
- Executing programs from the command line
- Server and server-startup programs
- Installation programs
-
MySQL 8 client programs
-
mysql - the command-line tool
- mysql options
- mysql commands
- mysql logging
- mysql server-side help
- Executing sql from text files
- mysqladmin - client for administering a MySQL server
- mysqlcheck - a table maintenance program
- mysqldump - a database backup program
- mysqlimport - a data import program
- mysqlpump - a database backup program
- mysqlsh - the MySQL Shell
- mysqlshow - showing database, table, and column information
- mysqlslap - load emulation client
-
mysql - the command-line tool
-
MySQL 8 administrative programs
- ibdsdi - InnoDB tablespace SDI extraction utility
- innochecksum - offline InnoDB file checksum utility
- myisam_ftdump - displaying full-text index utility
- myisamchk - MyISAM table-maintenance utility
- myisamlog - displaying MyISAM log file content
- myisampack - generating compressed, read-only MyISAM tables
- mysql_config_editor - MySQL configuration utility
- mysqlbinlog - utility for processing binary log files
- mysqldumpslow - summarizing slow query log files.
- MySQL 8 environment variables
- MySQL GUI tools
- Summary
- MySQL 8 Data Types
- MySQL 8 Database Management
-
MySQL 8 Storage Engines
- Overview of storage engines
-
Several types of storage engines
- Pluggable storage engine architecture
- The common database server layer
- Setting the storage engine
- The MyISAM storage engine
- The MEMORY storage engine
- The CSV storage engine
- The ARCHIVE storage engine
- The BLACKHOLE storage engine
- The MERGE storage engine
- The FEDERATED storage engine
- The EXAMPLE storage engine
- The InnoDB storage engine
- Creating a custom storage engine
- Summary
- Indexing in MySQL 8
- Replication in MySQL 8
- Partitioning in MySQL 8
- MySQL 8 – Scalability and High Availability
- MySQL 8 – Security
- Optimizing MySQL 8
- Extending MySQL 8
- MySQL 8 Best Practices and Benchmarking
-
Troubleshooting MySQL 8
-
MySQL 8 common problems
-
Most common MySQL errors
- Access denied
- Can't connect to [local] MySQL server
- Lost connection to MySQL server
- Password fails when entered incorrectly
- Host host_name is blocked
- Too many connections
- Out of memory
- Packet too large
- The table is full
- Can't create/write to file
- Commands out of sync
- Ignoring user
- Table tbl_name doesn't exist
-
Most common MySQL errors
- MySQL 8 server errors
- MySQL 8 client errors
- MySQL 8 troubleshooting approach
- Real-world scenario
- Summary
-
MySQL 8 common problems
- Other Books You May Enjoy
Product information
- Title: MySQL 8 Administrator's Guide
- Author(s):
- Release date: February 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788395199
You might also like
book
MySQL Cookbook, 4th Edition
For MySQL, the price of popularity comes with a flood of questions from users on how …
book
Learning MySQL, 2nd Edition
Get a comprehensive overview on how to set up and design an effective database with MySQL. …
book
SQL Cookbook, 2nd Edition
You may know SQL basics, but are you taking advantage of its expressive power? This second …
book
High Performance MySQL, 4th Edition
How can you realize MySQL's full power? With High Performance MySQL, you'll learn advanced techniques for …