Welcome to the MySQL Tutorial website! You will learn MySQL fast, easy and fun. This website provides you with a complete MySQL tutorial presented in an easy-to-follow manner. Each tutorial has practical examples with SQL scripts and screenshots available.
Getting Started
In this section, you’ll be getting started with MySQL by following 5-easy-steps. After completing the getting started section, you’ll have a local MySQL database in your computer with a sample database to practice.
This section helps you get started with the MySQL quickly if you have never worked with MySQL before.
MySQL Tutorial for Developers
Are you a developer looking to learn MySQL fast? After completing this section, you’ll know how to work with MySQL more effectively as a developer. You’ll learn various techniques to manipulate database objects and interact with the data.
This MySQL basics section provides you with everything you need to know to manage data in MySQL effectively
In this section, you will learn how to create stored procedures and stored functions in MySQL with clear explanation and practical examples.
MySQL triggers are stored programs executed automatically to respond to specific events associated with a table such as an insert, update or delete. This section shows you how to work with MySQL triggers effectively.
This tutorial introduces you to MySQL Views, which are named query stored in the database, and shows you step by step on how to manage views effectively.
This section introduces you to the MySQL index concept and shows you how to manage indexes in MySQL to optimize your queries.
In this section, we show you how to use MySQL full-text search with various full-text searching techniques such as natural language search, Boolean language search and query expansion.
We provide you with the advanced MySQL techniques and tips to help you solve the most difficult challenges in MySQL effectively.
MySQL Programming Interfaces
In this section, you’ll learn how to access the MySQL Database using various programming languages such as PHP, Java, Python, Node.js, and Perl.
You will learn how to interact with MySQL using PHP Data Objects or PDO, which provides a lightweight and consistent interface for accessing MySQL Database.
In this section, you will learn how to interact with MySQL from node.js applications using the mysql module.
Java JDBC API provides a standard interface to interact with any relational databases. In this MySQL JDBC tutorial section, we will show you how to use JDBC to interact with MySQL databases.
This Python MySQL tutorial section shows you how to use MySQL connector/Python to access MySQL databases.
This Perl MySQL section shows you how to interact with MySQL by using Perl DBI API for connecting to and disconnecting from MySQL databases, creating tables, handling data, and managing transactions.
MySQL Tutorial for Database Administrators
This step-by-step tutorial gives you in-depth background information on MySQL administration. This section covers everything from basic to advanced MySQL administration and configuration.
All MySQL administration tutorials presented in this section are practical and widely used in enterprise environments.
In this section, you will find a lot of useful MySQL administration tutorials including MySQL server start-up and shutdown, MySQL server security, MySQL database maintenance, backup and restore.
MySQL Functions
Aggregate functions allow you to perform a calculation on a set of records and return a single value. In this tutorial, you will learn various MySQL aggregate functions including SUM, AVG, MAX, MIN and COUNT functions.
In this section, you will learn about the comparison functions in MySQL including COALESCE, GREATEST, LEAST, and ISNULL.
The control flow functions allow you to add if-then-else logic to SQL queries without using the procedural code.
This page shows you the most commonly used MySQL Date Functions that allow you to manipulate date and time data effectively.
This page shows you the most commonly used MySQL string functions that allow you to manipulate character string data effectively.
This tutorial introduces you to MySQL windows functions and provides you with some practical and motivational examples of the windows functions in MySQL.
This section covers the most commonly used math functions in MySQL.
MySQL Tutorial References
If you need more information on MySQL, check out the MySQL resources.