{"id":4203,"date":"2014-11-20T23:04:58","date_gmt":"2014-11-21T07:04:58","guid":{"rendered":"http:\/\/www.mysqltutorial.org\/?page_id=4203"},"modified":"2023-10-23T23:26:54","modified_gmt":"2023-10-24T06:26:54","slug":"what-is-mysql","status":"publish","type":"page","link":"https:\/\/www.mysqltutorial.org\/getting-started-with-mysql\/what-is-mysql\/","title":{"rendered":"What is MySQL"},"content":{"rendered":"\n<p><strong>Summary<\/strong>: What is MySQL? This tutorial will provide you with answers and reasons why MySQL is one of the world&#8217;s most popular open-source databases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction to databases<\/h2>\n\n\n\n<p>You interact with data every day\u2026<\/p>\n\n\n\n<p>When you want to listen to your favorite songs, you open your playlist from your smartphone. In this case, the playlist is essentially a database.<\/p>\n\n\n\n<p>When you take a photo and upload it to your account on a social network like Facebook, your photo gallery becomes a database.<\/p>\n\n\n\n<p>When you browse an e-commerce website to buy shoes, clothes, and more, you&#8217;re using the shopping cart database.<\/p>\n\n\n\n<p>Databases are everywhere. So what is a database?\u00a0 By definition, a database is simply a structured collection of data.<\/p>\n\n\n\n<p>The data within a database are naturally related, for example, a product belongs<strong> <\/strong>to a product category and is<strong> <\/strong>associated with multiple tags. Hence,  we use the term <strong>relational database<\/strong>.<\/p>\n\n\n\n<p>In a relational database, we model data like products, categories, tags, etc., using tables. A table contains columns and rows, much like a spreadsheet.<\/p>\n\n\n\n<p>Tables can relate to one another table using various types of relationships, like one-to-one and one-to-many.<\/p>\n\n\n\n<p>Because we handle a substantial amount of data, we need a way to efficiently define databases, tables, and process data. Moreover, we want to transform data into valuable information.<\/p>\n\n\n\n<p>This is where SQL comes into play.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SQL \u2013 the language of the relational database<\/h2>\n\n\n\n<p>SQL stands for the structured query language.<\/p>\n\n\n\n<p>SQL is the standardized language used to access the database.<\/p>\n\n\n\n<p class=\"note\">ANSI\/SQL defines the SQL standard and the current version of SQL is SQL:2023. When we refer to the SQL standard, we are talking about the current SQL version.<\/p>\n\n\n\n<p>SQL is composed of three parts:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Data definition language (DDL) includes statements for defining the database and its objects such as tables, <a href=\"https:\/\/www.mysqltutorial.org\/mysql-views\/\">views<\/a>,<a href=\"https:\/\/www.mysqltutorial.org\/mysql-triggers\/\"> triggers<\/a>, <a href=\"https:\/\/www.mysqltutorial.org\/mysql-stored-procedure\/\">stored procedures<\/a>, etc.<\/li>\n\n\n\n<li>Data manipulation language (DML) contains statements for <a href=\"https:\/\/www.mysqltutorial.org\/mysql-basics\/mysql-update\/\">updating<\/a> and <a href=\"https:\/\/www.mysqltutorial.org\/mysql-basics\/mysql-select-from\/\">querying data<\/a>.<\/li>\n\n\n\n<li>Data control language (DCL) allows you to <a href=\"https:\/\/www.mysqltutorial.org\/mysql-administration\/mysql-grant\/\">grant permissions<\/a> to users to access specific data in the database.<\/li>\n<\/ol>\n\n\n\n<p>Now that you understand databases and SQL, it\u2019s time to answer the next question\u2026<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is MySQL<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignright size-full\"><img decoding=\"async\" src=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2023\/10\/mysqltutorial-homepage.svg\" alt=\"MySQL Tutorial\" class=\"wp-image-10959\"\/><\/figure>\n<\/div>\n\n\n<p>MySQL? What&#8217;s in a name?<\/p>\n\n\n\n<p>MySQL got its name from the daughter of one of its co-founders, Monty Widenius, whose name is My. Combining &#8216;My&#8217; with &#8216;SQL,&#8217; we get MySQL.<\/p>\n\n\n\n<p>MySQL is a robust database management system designed for managing relational databases. It is open-source software supported by Oracle, meaning that you can use MySQL without any cost. Additionally, you will have the flexibility to modify its source code to tailor it to your specific requirements.<\/p>\n\n\n\n<p>Despite being open-source software, you also have the option to purchase a commercial license from Oracle, which provides access to premium support services.<\/p>\n\n\n\n<p>When compared to other database software like Oracle Database or Microsoft SQL Server, MySQL is relatively easy to master.<\/p>\n\n\n\n<p>MySQL is versatile and can run on various platforms, including UNIX, Linux, and Windows. You can <a href=\"https:\/\/www.mysqltutorial.org\/getting-started-with-mysql\/install-mysql\/\">install it on a server or even on a desktop<\/a>. What&#8217;s more, MySQL is renowned for its reliability, scalability, and speed.<\/p>\n\n\n\n<p class=\"note\">The official way to pronounce MySQL is <em>My Ess Que Ell, not My Sequel. <\/em>Nevertheless, you can pronounce it as you prefer; it&#8217;s a matter of personal choice.<\/p>\n\n\n\n<p>If you&#8217;re a web developer, MySQL is a great choice. It&#8217;s a key component of the LAMP stack, which consists of Linux, Apache, MySQL, and PHP.<\/p>\n<div class=\"helpful-block-content\" data-title=\"\">\n\t<header>\n\t\t<div class=\"wth-question\">Was this tutorial helpful? <\/div>\n\t\t<div class=\"wth-thumbs\">\n\t\t\t<button\n\t\t\t\tdata-post=\"4203\"\n\t\t\t\tdata-post-url=\"https:\/\/www.mysqltutorial.org\/getting-started-with-mysql\/what-is-mysql\/\"\n\t\t\t\tdata-post-title=\"What is MySQL\"\n\t\t\t\tdata-response=\"1\"\n\t\t\t\tclass=\"wth-btn-rounded wth-yes-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t\tclass=\"feather feather-thumbs-up block w-full h-full\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> Yes <\/span>\n\t\t\t<\/button>\n\n\t\t\t<button\n\t\t\t\tdata-response=\"0\"\n\t\t\t\tdata-post=\"4203\"\n\t\t\t\tdata-post-url=\"https:\/\/www.mysqltutorial.org\/getting-started-with-mysql\/what-is-mysql\/\"\n\t\t\t\tdata-post-title=\"What is MySQL\"\n\t\t\t\tclass=\"wth-btn-rounded wth-no-btn\"\n\t\t\t>\n\t\t\t\t<svg\n\t\t\t\t\txmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 24\"\n\t\t\t\t\tfill=\"none\"\n\t\t\t\t\tstroke=\"currentColor\"\n\t\t\t\t\tstroke-width=\"2\"\n\t\t\t\t\tstroke-linecap=\"round\"\n\t\t\t\t\tstroke-linejoin=\"round\"\n\t\t\t\t>\n\t\t\t\t\t<path\n\t\t\t\t\t\td=\"M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17\"\n\t\t\t\t\t><\/path>\n\t\t\t\t<\/svg>\n\t\t\t\t<span class=\"sr-only\"> No <\/span>\n\t\t\t<\/button>\n\t\t<\/div>\n\t<\/header>\n\n\t<div class=\"wth-form hidden\">\n\t\t<div class=\"wth-form-wrapper\">\n\t\t\t<div class=\"wth-title\"><\/div>\n\t\t\t\n\t\t\t<textarea class=\"wth-message\"><\/textarea>\n\n\t\t\t<button class=\"btn btn-primary wth-btn-submit\">Send<\/button>\n\t\t\t<button class=\"btn wth-btn-cancel\">Cancel<\/button>\n\t\t\n\t\t<\/div>\n\t<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial helps you answer the question: what is MySQL? And give you the reasons why MySQL is the world&#8217;s most popular open source database.<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":9017,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4203","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is MySQL?<\/title>\n<meta name=\"description\" content=\"What is MySQL? This tutorial will provide you with answers and reasons why MySQL is one of the world&#039;s most popular open-source databases.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mysqltutorial.org\/what-is-mysql\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is MySQL?\" \/>\n<meta property=\"og:description\" content=\"What is MySQL? This tutorial will provide you with answers and reasons why MySQL is one of the world&#039;s most popular open-source databases.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mysqltutorial.org\/what-is-mysql\/\" \/>\n<meta property=\"og:site_name\" content=\"MySQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-24T06:26:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2023\/10\/mysqltutorial-homepage.svg\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/what-is-mysql\\\/\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/what-is-mysql\\\/\",\"name\":\"What is MySQL?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/what-is-mysql\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/what-is-mysql\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/mysqltutorial-homepage.svg\",\"datePublished\":\"2014-11-21T07:04:58+00:00\",\"dateModified\":\"2023-10-24T06:26:54+00:00\",\"description\":\"What is MySQL? This tutorial will provide you with answers and reasons why MySQL is one of the world's most popular open-source databases.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/what-is-mysql\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mysqltutorial.org\\\/what-is-mysql\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/what-is-mysql\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/mysqltutorial-homepage.svg\",\"contentUrl\":\"https:\\\/\\\/www.mysqltutorial.org\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/mysqltutorial-homepage.svg\",\"caption\":\"MySQL Tutorial\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/what-is-mysql\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.mysqltutorial.org\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started with MySQL\",\"item\":\"https:\\\/\\\/www.mysqltutorial.org\\\/getting-started-with-mysql\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What is MySQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mysqltutorial.org\\\/#website\",\"url\":\"https:\\\/\\\/www.mysqltutorial.org\\\/\",\"name\":\"MySQL Tutorial\",\"description\":\"A comprehensive MySQL Tutorial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mysqltutorial.org\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is MySQL?","description":"What is MySQL? This tutorial will provide you with answers and reasons why MySQL is one of the world's most popular open-source databases.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/","og_locale":"en_US","og_type":"article","og_title":"What is MySQL?","og_description":"What is MySQL? This tutorial will provide you with answers and reasons why MySQL is one of the world's most popular open-source databases.","og_url":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/","og_site_name":"MySQL Tutorial","article_modified_time":"2023-10-24T06:26:54+00:00","og_image":[{"url":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2023\/10\/mysqltutorial-homepage.svg","type":"","width":"","height":""}],"twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/","url":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/","name":"What is MySQL?","isPartOf":{"@id":"https:\/\/www.mysqltutorial.org\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/#primaryimage"},"image":{"@id":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2023\/10\/mysqltutorial-homepage.svg","datePublished":"2014-11-21T07:04:58+00:00","dateModified":"2023-10-24T06:26:54+00:00","description":"What is MySQL? This tutorial will provide you with answers and reasons why MySQL is one of the world's most popular open-source databases.","breadcrumb":{"@id":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mysqltutorial.org\/what-is-mysql\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/#primaryimage","url":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2023\/10\/mysqltutorial-homepage.svg","contentUrl":"https:\/\/www.mysqltutorial.org\/wp-content\/uploads\/2023\/10\/mysqltutorial-homepage.svg","caption":"MySQL Tutorial"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mysqltutorial.org\/what-is-mysql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mysqltutorial.org\/"},{"@type":"ListItem","position":2,"name":"Getting Started with MySQL","item":"https:\/\/www.mysqltutorial.org\/getting-started-with-mysql\/"},{"@type":"ListItem","position":3,"name":"What is MySQL"}]},{"@type":"WebSite","@id":"https:\/\/www.mysqltutorial.org\/#website","url":"https:\/\/www.mysqltutorial.org\/","name":"MySQL Tutorial","description":"A comprehensive MySQL Tutorial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mysqltutorial.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/4203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/comments?post=4203"}],"version-history":[{"count":5,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/4203\/revisions"}],"predecessor-version":[{"id":11658,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/4203\/revisions\/11658"}],"up":[{"embeddable":true,"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/pages\/9017"}],"wp:attachment":[{"href":"https:\/\/www.mysqltutorial.org\/wp-json\/wp\/v2\/media?parent=4203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}