Learning my MySQL and MariaDB
Heading in the Right Direction with MySQL and MariaDB
Samenvatting
If you’re a programmer new to databases-or just new to MySQL and its community-driven variant, MariaDB-you’ve found the perfect introduction. This hands-on guide provides an easy, step-by-step approach to installing, using, and maintaining these popular relational database engines.
Author Russell Dyer, Curriculum Manager at MariaDB and former editor of the MySQL Knowledge Base, takes you through database design and the basics of data management and manipulation, using real-world examples and many practical tips. Exercises and review questions help you practice what you’ve just learned.
- Create and alter MySQL tables and specify fields and columns within them
- Learn how to insert, select, update, delete, join, and subquery data, using practical examples
- Use built-in string functions to find, extract, format, and convert text from columns
- Learn functions for mathematical or statistical calculations, and for formatting date and time values
- Perform administrative duties such as managing user accounts, backing up databases, and importing large amounts of data
- Use APIs to connect and query MySQL and MariaDB with PHP and other languages
Specificaties
Inhoudsopgave
1. Introduction
-The Value of MySQL and MariaDB
-Mailing Lists and Forums
-Other Books and Other Publications
2. Installing MySQL and MariaDB
-The Installation Packages
-Licensing
-Finding the Software
-Choosing a Distribution
-The _AMP Alternatives
-Post-Installation
3. The Basics and the mysql Client
-The mysql Client
-Connecting to the Server
-Starting to Explore Databases
-Summary
-Exercises
Part 2: Database Structures
4. Creating Databases and Tables
-Creating a Database
-Creating Tables
-Inserting Data
-More Perspectives on Tables
-Summary
-Exercises
5. Altering Tables
-Prudence When Altering Tables
-Essential Changes
-Optional Changes
-Indexes
-Summary
-Exercises
Part 3: Basics of Handling Data
6 Inserting Data
-The Syntax
-Practical Examples
-Other Possibilities
-Summary
-Exercises
7. Selecting Data
-Basic Selection
-Selecting by a Criteria
-Ordering Results
-Limiting Results
-Combining Tables
-Expressions and the Like
-Counting and Grouping Results
-Summary
-Exercises
8. Updating and Deleting Data
-Updating Data
-Deleting Data
-Summary
-Exercises
9. Joining and Subquerying Data
-Unifying Results
-Joining Tables
-Subqueries
-Summary
-Exercises
Part 4: Built-In Functions
10. String Functions
-Formatting Strings
-Extracting Text
-Searching Strings and Using Lengths
-Converting String Types
-Compressing Strings
-Summary
-Exercises
11. Date and Time Functions
-Date and Time Data Types
-Current Date and Time
-Extracting Date and Time Components
-Formatting Dates and Time
-Adjusting to Standards and Time Zones
-Adding and Subtracting Dates and Time
-Comparing Dates and Times
-Summary
-Exercises
12. Aggregate and Numeric Functions
-Aggregate Functions
-Numeric Functions
-Summary
-Exercises
Part 5: Administration and Beyond
13. User Accounts and Privileges
-User Account Basics
-Restricting the Access of User Accounts
-Administrative User Accounts
-Revoking Privileges
-Deleting a User Account
-Changing Passwords and Names
-User Roles
-Summary
-Exercises
14. Backing Up and Restoring Databases
-Making Backups
-Restoring Backups
-Developing a Backup Policy
-Summary
-Exercises
15. Bulk Importing Data
-Preparing to Import
-Loading Data Basics
-Better Loading
-More Field and Line Definitions
-Importing from Outside MySQL
-Bulk Exporting Data
-Summary
-Exercises
16. Application Programming Interfaces
-Creating API User Accounts
-C API
-Perl DBI
-PHP API
-Python
-Ruby API
-SQL Injection
-Summary
-Exercises
Index
Anderen die dit boek kochten, kochten ook
Rubrieken
- cadeauboeken
- computer en informatica
- economie
- filosofie
- flora en fauna
- geneeskunde
- geschiedenis
- gezondheid
- jeugd
- juridisch
- koken en eten
- kunst en cultuur
- literatuur en romans
- mens en maatschappij
- naslagwerken
- non-fictie informatief/professioneel
- paramedisch
- psychologie
- reizen
- religie
- schoolboeken
- spiritualiteit
- sport, hobby, lifestyle
- thrillers en spanning
- wetenschap en techniek
- woordenboeken en taal