MySQL is a relational database and is mostly used for data storage on the web. It is operable by relatively simple queries in SQL (Structured Query Language). MySQL is suitable for persistent storage of data. In Java one can map the tables e.g. with Hibernate. A comparable ORM in PHP is e.g. Doctrine.