MySQL is an open source relational database management system. MySQL is lightweight database and is often used in combination with PHP on the server. It is often used to build web applications as part of the LAMP stack (ie. Linux, Apache, MySQL, PHP).