mysql is a database system used by many websites on the internet. it is based on sql. many ways of doing things in sql are similar in mysql. the data is structured in tables in mysql. and to extract data from the tables queries are used.