School:Computer Science → Topic:Computer Programming → Topic:Databases → Topic:MySQL
What is MySQL?
MySQL is a multithreaded, multi-user, SQL Database Management System. It is often accessed and managed through PHP-driven content management systems. (MediaWiki, the wiki engine for Wikiversity is an example of a system that uses MySQL.)
The open source MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, which holds the copyright to most of the codebase. Both the MySQL server software itself and the client libraries are distributed under a dual-licensing format. (MediaWiki deploys MySQL under the GNU General Public License).
Prerequisites
Learners interested in MySQL may wish to enroll at Databases and Web Design.
Object-relational databases and MediaWiki are advanced related topics under develpment. You might want to take a peek.
Activities
- Install MySQL Server, you can follow b:MySQL_Practical_Guide
- Connect to database server:
mysql -u USERNAME -p PASSWORD -h HOSTNAMEORIP DATABASENAME
- Tune MySQL Server using mysqltuner perl script[1]
- List available plugins
mysql> show plugins;
- Show processlist
mysql> show processlist;
- Show tables:
mysql> show tables;
- Create MySQL Backup
Learning materials
Wikiversity lessons:
- Web Design/Dynamic Websites/Creating Database Tables
- MediaWiki Engine
- Apache MySQL PHP on Mac OS X
- MariaDB, MySQL fork from former developers after Oracle acquisition
Resources
- MySQL database website
- Planet MySQL - an aggregation of MySQL-related blogs
- MySQL Forge
- MySQL Users Conference
- MySQL General Purpose Stored Routines Library
- MySQL 5.1 testing environment
Documentation:
- MySQL Manual
- MySQL Roadmap
- MySQL blog Articles
- Download MySQL Databases
- #mysql channel documentation wiki
- MySQL Gotchas description of many features in MySQL, which work as advertised, but not as those used to other databases may expect
Other:
- Blog by Peter Zaitsev/Vadim Tkachenko on MySQL Performance Optimization
- Database Journal articles on MySQL
- A Gentle Introduction to SQL By Andrew Cumming - School of Computing, Napier University, Edinburgh, UK. 1999-2005 (Available in Albanian, German, Spanish, Chinese, French, Italian and Portuguese)
- phpMyAdmin - Effective MySQL Management (Open source, browser-based, php5 support, supports MySQL 4.1 and MySQL 5.0)
- w3resource.com MySQL Tutorial - Comprehensive MySQL Tutorial (With hundreds of PHP-MySQL code examples)
- hackr.io MySQL Tutorial - MySQL tutorials voted by the community (Ask your question to 10K+ registered Programming Experts)
- MySQL Reference