MySQL Training ? Online Free MySQL Training
In this section you can find everything that you want to know about MySQL, we are starting from installation to the development of enterprise application using MySQL. In this online training/tutorial we are using MySQL 5.0 which is the latest version of MySQL at the time of writing tutorial. This tutorial is for beginners as well as the advance programmers. If you are beginner you should start from the first lesson. But advance users can skip any lesson of their own choice.
- Introduction to MySQL
MySQL is supported, distributed and developed by MySQL AB. It is most popular open source SQL database management system. Our MySQL tutorial is available at free of cost and 365x24 days for your help and you will get all these without paying anything .
Basics Of MySQL
- What
is MySQL?
MySQL is a open source Relational Database Management System. MySQL is very fast reliable and flexible Database Management System. It provides a very high performance and it is multi threaded and multi user Relational Database management system.
- Installing MySQL on Windows
In this section you will learn how to install MySQL 5.0 on windows system. The MySQL 3.21 was the first version for the windows. Windows installer of MySQL includes auto installer with Configuration Wizard that support for easy installation.
- MySQL Configuration
In this lesson you will read about the configuration of MySQL . The MySQL server configuration normally started during installation process .
- Creating account, changing root password and deleting anonymous accounts
This MySQL provide the new creating account or you want to change the password then make new user .This lesson you learn how to create new password.
- Understanding various MySQL Executable files
This lesson you learn how to the execute mysql file. MySQL Provide the executable file and uses the MySQL Client interactive file by this command "shell> mysql db_name ".
- MySQL User Interfaces
In this section you will read how to define the function Interface, Create function syntax , Drop function Syntax. You can add function with the help of UDF (user defined function) interface. These are complied as object files. After that they can be added to and removed from the server dynamically by using create and Drop function statements.
- MySQL Monitoring
In this section you can learn how to monitor the MySQL Database. MySQL system store the all of the critical data and easy to maintenance in every cases. It is very popular database and make quick easy to store or its access, and update Data.
Working with MySQL Database
- Creating/Deleting databases
In this section you will learn how to create and delete the database in MySQL. MySQL provides the both commands. In this section you can learn the following things : Creation and Selection of database, Creation of table, Load the data into the table.
- MySQL Column type database
In this session you will learn how to support number of column in MySQL . MySQL supports the numeric type , Date and time type, and String type (char) database.
- Database Designing
There are some rules are available for designing the database. These are : MySQL use the alpha numeric character, MySQL limited the 64 characters, MySQL use the underscore (_) to separate word, MySQL is entirely lowercase word, MySQL use the plural table name to indicate multiple value store and singular column names. In this section you will also learn about the Normalization.
- Identifiers &
Qualifiers
In this section you will learn about describing the allowable syntax for identifiers in MySQL. The identifiers are Database, table, index, column and alias name. The following table describes the maximum length for each type of identifier.
- Operators & Functions
In this section we are describing the function and operators, which are allowed for writing expressions in MySQL. If any expression, which contains NULL then it always produce a NULL value unless else indicated in the documentation for a particular function or operator.
- MYSQL String function
In this section you can learn about the uses of MySQL String functions. These functions can be used to manipulate the string data. Here we have compiled the almost all String functions that you can use to learn more about string functions supported by MySQL.
MySQL Queries
- SELECT Statement
In this lesson you will be learn how to use SELECT statement in MySQL and you can also learn how to use SELECT statement with WHERE clause. The SELECT statement is used to retrieve the records from the table.
- Selecting
All columns or specific columns
In this section you will be learn how to create database and create a specific columns in MySQL. And you can also learn about Evaluation and Writing Expression.
- Data Definition Statements
In this section we will describe you the syntax of most of the Data Definition statements supported by MySQL like CREATE DATABASE, CREATE TABLE, ALTER DATABASE, ALTER TABLE etc...
- Data Manipulation
Statements
Data Manipulation Statement is used to retrieve, insert, update and delete the records in a database. All database users will use these commands during routine operation of the database. In this section we are describing the all Data Manipulation Statements :
- Joins
When you select the data from more than one table this is known as Joining. A join is a SQL query that is used to select the data from more than one table or views. When you define multiple tables or views in the FROM clause of a query the MySQL performs a join that linking the rows from multiple tables together.
- Views
VIEW is a virtual table, which acts like a table but actually it contains no data. That is based on the result set of a SELECT statement. A VIEW consists rows and columns from one or more than one tables. A VIEW is a query that?s stored as an object. A VIEW is nothing more than a way to select a subset of table?s columns.
- Stored Procedures and
Functions
Stored Routines (Procedures and Functions) are supported in version MySQL 5.0. Stored Procedure is a set of statements, which allow ease and flexibility for a programmer because stored procedure is easy to execute than reissuing the number of individual SQL statements.
- Writing Subqueries
A subquery can be defined as a query within a query. In other words, any query results that we reuse in another query. Subquery is known as nestee queries or subselects also. Subqueries don?t include any new functionality but the queries are more readable with using subqueries rather than of joins.
- Flow Control Constructs
Flow Control Constructs include the IF, CASE, LOOP, WHILE, ITERATE, REPEAT and LEAVE constructs. These constructs can contain single statement or a block of statements using with BEGIN?..END statement. And these constructs can be nested also.
- Cursors
Cursors are used when the SQL Select statement is expected to return more than one row. Cursors are supported inside procedures and functions. Cursors must be declared and its definition contains the query. The cursor must be defined in the DECLARE section of the program. A cursor must be opened before processing and close after processing.
- Triggers
A Trigger is a named database object which defines some action that the database should take when some databases related event occurs. Triggers are executed when you issues a data manipulation command like INSERT, DELETE, UPDATE on a table for which the trigger has been created.
- Locking Issues
MySQL can manage the contention for table contents by using Internal and External Locking. Internal Locking can be performed in the MySQL server itself for managing the contention for table content by multiple threads. External locking is performed when server and other programs lock the table files for coordinating among themselves which program may access the tables at which time.
- MySQL Transactional and
Locking Statements
MySQL5.0 supports local transactions by statements like START TRANSACTION, SET AUTOCOMMIT, COMMIT and ROLLBACK. Transaction means a group of SQL Statements, which executes as a unit. And MySQL either executes all the statement successfully or it doesn?t execute anyone. This can be achieved by the commit and rollback
- Account Management
Statements
In MySQL user account information?s are stored in mysql database tables. In this section we will describe you about Create User, Drop User, Grant Syntax, Rename User, Revoke Syntax and Set Password Syntax.
- Table Maintenance
Statements
In this section we are covering the topics like ANALYZE TABLE, BACKUP TABLE, CHECK TABLE, CHECKSUM TABLE, OPTIMIZE TABLE, REPAIR TABLE, RESTORE TABLE Syntax.
- SET Syntax
SET statement is used for assigning the values for different types of variables which affects the operation of your client or the server. In this section we are describing you the use of SET statement to assign the values for system variables or user variables.