Getting Information About Databases and Tables MySQL / General Guides
What if you forget the name of a database or table, or what the structure of a given table is (for example, what its columns are called)? MySQL addresses this problem through several statements that provide information about the databases and tables it supports.
Using Triggers MySQL / General Guides
MySQL statements are executed when needed, as are stored procedures. But what if you wanted a statement (or statements) to be executed automatically when events occur? For example: Every time a customer is added to a database table, check that the phone number is formatted correctly and that the state abbreviation is in uppercase, Every time a product is ordered, subtract the ordered quantity from the number in stock, Whenever a row is deleted, save a copy in an archive table.
MySQL Table Types MySQL / General Guides
MySQL supports several storage engines that act as handlers for different table types. MySQL storage engines include both those that handle transaction-safe tables and those that handle non-transaction-safe tables:
Database Maintenance MySQL / General Guides
Use the command line mysqldump utility to dump all database contents to an external file. This utility should ideally be run before regular backups occur so the dumped file will be backed up properly. The command line mysqlhotcopy utility can be used to copy all data from a database (this one is not supported by all database engines). You can also use MySQL to dump all data to an external file using BACKUP TABLE or SELECT INTO OUTFILE. Both statements take the name of a system file to be created, and that file must not already exist or an error will be generated. Data can be restored using RESTORE TABLE.
Select Record MySQL / General Guides
This tutorial will show you how to get records in your table in database to show on your PHP files. This SQL statement has many options.
MySQL Migration: MyISAM to InnoDB MySQL / General Guides
The MySQL database is unique in that it offers multiple storage engines. The SQL parser and front end interfaces are separate from the storage engines. This lets you choose the low level table format that suits your application best.
Creating and Selecting a Database MySQL / General Guides
Before you can start creating tables you need to have a database.creates your database for you when setting up your permissions, you can begin using it. Otherwise, you need to create it yourself:
MySQL DELAY_KEY_WRITE Option MySQL / General Guides
Another performance option in MySQL is the DELAY_KEY_WRITE option. According to the MySQL documentation the option makes index updates faster because they are not flushed to disk until the table is closed.
Beginners Guide to MySQL MySQL / General Guides
This tutorial, I hope you will have the basic understandings of how to, create a table to store data in, how to insert data into your tables, how to delete data from your tables and how to update data in your tables. These are three very principal tasks when using MySQL, such as, adding a new user, deleting a user, and edit an existing user (in theory).