{"id":1185,"date":"2020-03-14T15:49:17","date_gmt":"2020-03-14T20:49:17","guid":{"rendered":"https:\/\/www.linuxcloudvps.com\/blog\/?p=1185"},"modified":"2020-03-14T15:49:17","modified_gmt":"2020-03-14T20:49:17","slug":"how-to-install-mariadb-on-debian-9","status":"publish","type":"post","link":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/","title":{"rendered":"How to Install MariaDB on Debian 9"},"content":{"rendered":"<p>In this article, we will show you how to install MariaDB on a <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Debian 9 Cloud VPS<\/a>.<\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-1189\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/03\/setting-up-mariadb-database-server-on-debian-server.jpg\" alt=\"\" width=\"120\" height=\"62\" \/>MariaDB is a free and open-source, backwards-compatible, enhanced and drop-in replacement of the popular MySQL database management server software. It is very fast, stable, and scalable, making this database server ideal for almost everyone, which is why it&#8217;s one of the most used database servers in the world. Let&#8217;s get started with the installation.<span id=\"more-741\"><\/span><\/p>\n<p><!--more--><\/p>\n<h2>Step 1. Log into your Server<\/h2>\n<p>First things first, login to your Debian 9 Cloud VPS via SSH as the root user:<\/p>\n<pre>ssh root@&lt;span style=&quot;color: #ff0000;&quot;&gt;IP_Address&lt;\/span&gt; -p &lt;span style=&quot;color: #ff0000;&quot;&gt;Port_number&lt;\/span&gt;<\/pre>\n<p>Make sure to replace <span style=\"color: #ff0000;\">IP_Address<\/span> and <span style=\"color: #ff0000;\">Port_number<\/span> with your server&#8217;s IP and SSH port.<\/p>\n<h2>Step 2. Install MariaDB<\/h2>\n<h3>Method 1. Install from the Debian Repository<\/h3>\n<p>Installing MariaDB from the Debian base repository is a straightforward method of installing MariaDB, but doing this may lead to an older version being installed. If you need the latest version of MariaDB, you can install it through the official MariaDB repository, as shown in <strong>Method 2<\/strong>.<\/p>\n<pre>sudo apt update\r\nsudo apt -y install mariadb-server mariadb-client<\/pre>\n<p>Run the command\u00a0<code>mysql_secure_installation<\/code> to perform the initial setup of MariaDB server once you&#8217;ve installed it. Let&#8217;s see how:<\/p>\n<h3>Method 2. Install MariaDB from MariaDB Repositories<\/h3>\n<p>Before continuing with the installation you can visit the MariaDB Repository page and check the latest MariaDB version. At the time of writing this article, the latest version of MariaDB was 10.3.<\/p>\n<p>To install MariaDB 10.3 on your Debian 9 system, follow these steps:<\/p>\n<p>The first step is to enable the MariaDB repository and import the repository GPG key to your system. To do so, run the following commands:<\/p>\n<pre>sudo apt install software-properties-common dirmngrsudo apt-key adv --recv-keys --keyserver hkp:\/\/keyserver.ubuntu.com:80 0xF1656F24C74CD1D8\r\nsudo add-apt-repository &#039;deb [arch=amd64,i386,ppc64el] http:\/\/mirrors.dotsrc.org\/mariadb\/repo\/10.3\/debian stretch main&#039;<\/pre>\n<p>Once the repository is enabled, update the packages list and install MariaDB with these next two commands:<\/p>\n<pre>sudo apt update\r\nsudo apt install mariadb-server<\/pre>\n<p>In case you want to start\/stop MariaDB, you can use the following commands.<\/p>\n<pre>sudo systemctl start mariadb\r\nsudo systemctl stop mariadb<\/pre>\n<p>Let&#8217;s verify that MariaDB is running.<\/p>\n<pre>sudo systemctl status mariadb<\/pre>\n<pre>\u25cf mariadb.service - MariaDB 10.3.8 database server\r\n    Loaded: loaded (\/lib\/systemd\/system\/mariadb.service; enabled; vendor preset: enabled)\r\n    Drop-In: \/etc\/systemd\/system\/mariadb.service.d\r\n            \u2514\u2500migrated-from-my.cnf-settings.conf\r\n    Active: active (running) since Sun 2018-07-29 19:36:30 UTC; 56s ago\r\n        Docs: man:mysqld(8)\r\n            https:\/\/mariadb.com\/kb\/en\/library\/systemd\/\r\n    Main PID: 16417 (mysqld)\r\n    Status: &quot;Taking your SQL requests now...&quot;\r\n        Tasks: 31 (limit: 507)\r\n    CGroup: \/system.slice\/mariadb.service\r\n            \u2514\u250016417 \/usr\/sbin\/mysqld<\/pre>\n<p>To enable the MariaDB service on system boot, run the following command:<\/p>\n<pre>systemctl enable mariadb<\/pre>\n<p>In case you want MariaDB disabled on system boot, run the following command:<\/p>\n<pre>systemctl disable mariadb<\/pre>\n<h2>Step 3. Secure MySQL Installation<\/h2>\n<p>Execute the following command on your server.\u00a0 For the highest level of security, answer all prompts with\u00a0<strong>yes<\/strong> by entering the character &#8220;<strong>y<\/strong>&#8220;.<\/p>\n<pre>sudo mysql_secure_installation\r\n<\/pre>\n<p>This program enables you to improve the security of your MariaDB installation in the following ways:<\/p>\n<ol>\n<li>Sets a password for root accounts.<\/li>\n<li>Remove root accounts that are accessible from outside the local host.<\/li>\n<li>Removes anonymous user accounts.<\/li>\n<li>Removes the test database.<\/li>\n<\/ol>\n<p>The script is fully interactive and prompts for each step in the process.<\/p>\n<p>Now that MariaDB is installed and secured, let&#8217;s go over logging into the MariaDB CLI.<\/p>\n<h2>Connect to MariaDB from the Command Line<\/h2>\n<p>To connect to the MariaDB server through the terminal using the root account, type and execute the following command:<\/p>\n<pre>mysql -u root -p<\/pre>\n<p>You will be prompted to enter the root password you have previously set up using the <code>mysql_secure_installation<\/code> script.<\/p>\n<p>Once you enter the password, you should be able to see the following output:<\/p>\n<pre>Welcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 5635\r\nServer version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1\r\n\r\nCopyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.\r\n\r\nType &#039;help;&#039; or &#039;\\h&#039; for help. Type &#039;\\c&#039; to clear the current input statement.\r\n\r\nMariaDB [(none)]&gt;<\/pre>\n<p>You can now create a database by typing the following command:<\/p>\n<pre>CREATE DATABASE your_database;\r\nCREATE USER &#039;your_user&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;password&#039;; \r\nGRANT ALL PRIVILEGES ON your_database.* TO your_user@localhost; \r\nFLUSH PRIVILEGES; \r\nquit<\/pre>\n<p>To view MariaDB\u2019s command list from within the client, type:<\/p>\n<pre>\\h<\/pre>\n<pre>General information about MariaDB can be found at\r\n<blockquote class=\"wp-embedded-content\" data-secret=\"otj5f2t3ov\"><a href=\"https:\/\/mariadb.org\/\">MariaDB Foundation<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;MariaDB Foundation&#8221; &#8212; MariaDB.org\" src=\"https:\/\/mariadb.org\/embed\/#?secret=As08cvixVV#?secret=otj5f2t3ov\" data-secret=\"otj5f2t3ov\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\r\n\r\nList of all MySQL commands:\r\nNote that all text commands must be first on line and end with &#039;;&#039;\r\n? (\\?) Synonym for `help&#039;.\r\nclear (\\c) Clear the current input statement.\r\nconnect (\\r) Reconnect to the server. Optional arguments are db and host.\r\ndelimiter (\\d) Set statement delimiter.\r\nedit (\\e) Edit command with $EDITOR.\r\nego (\\G) Send command to mysql server, display result vertically.\r\nexit (\\q) Exit mysql. Same as quit.\r\ngo (\\g) Send command to mysql server.\r\nhelp (\\h) Display this help.\r\nnopager (\\n) Disable pager, print to stdout.\r\nnotee (\\t) Don&#039;t write into outfile.\r\npager (\\P) Set PAGER [to_pager]. Print the query results via PAGER.\r\nprint (\\p) Print current command.\r\nprompt (\\R) Change your mysql prompt.\r\nquit (\\q) Quit mysql.\r\nrehash (\\#) Rebuild completion hash.\r\nsource (\\.) Execute an SQL script file. Takes a file name as an argument.\r\nstatus (\\s) Get status information from the server.\r\nsystem (\\!) Execute a system shell command.\r\ntee (\\T) Set outfile [to_outfile]. Append everything into given outfile.\r\nuse (\\u) Use another database. Takes database name as argument.\r\ncharset (\\C) Switch to another charset. Might be needed for processing binlog with multi-byte charsets.\r\nwarnings (\\W) Show warnings after every statement.\r\nnowarning (\\w) Don&#039;t show warnings after every statement.\r\n\r\nFor server side help, type &#039;help contents&#039;<\/pre>\n<p>You can now create databases, tables, users, and perform everything that you need easily with MariaDB. If you need extra help with MariaDB, there are countless resources online detailing the specific features of this SQL-based server.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-1190\" src=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/03\/best-managed-support-for-database-server-debian.jpg\" alt=\"\" width=\"120\" height=\"62\" \/>Of course, you don\u2019t have to install MariaDB on Debian 9 if you use one of our <a href=\"https:\/\/www.linuxcloudvps.com\/cloud-vps.html\">Managed Cloud VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install MariaDB on Debian 9 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS.<\/strong><\/span> If you liked this post on how to install MariaDB on Debian 9, please share it with your friends on the social networks using the share shortcuts, or simply leave a reply below. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will show you how to install MariaDB on a Debian 9 Cloud VPS. MariaDB is a free and open-source, backwards-compatible, enhanced and drop-in replacement of the popular MySQL database management server software. It is very fast, stable, and scalable, making this database server ideal for almost everyone, which is why it&#8217;s &#8230; <a title=\"How to Install MariaDB on Debian 9\" class=\"read-more\" href=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/\" aria-label=\"More on How to Install MariaDB on Debian 9\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":1188,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-1185","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install MariaDB on Debian 9 | LinuxCloudVPS Blog<\/title>\n<meta name=\"description\" content=\"In this article, we will show you how to install MariaDB on a Debian 9 Cloud VPS. MariaDB is a free and open-source, backwards-compatible, enhanced and\" \/>\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.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install MariaDB on Debian 9 | LinuxCloudVPS Blog\" \/>\n<meta property=\"og:description\" content=\"In this article, we will show you how to install MariaDB on a Debian 9 Cloud VPS. MariaDB is a free and open-source, backwards-compatible, enhanced and\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxCloudVPS Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/LinuxCloudVPS\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-14T20:49:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/03\/how-to-install-mariadb-on-debian9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:site\" content=\"@LinuxCloudVPS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\"},\"headline\":\"How to Install MariaDB on Debian 9\",\"datePublished\":\"2020-03-14T20:49:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/\"},\"wordCount\":623,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/how-to-install-mariadb-on-debian9.jpg\",\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/\",\"name\":\"How to Install MariaDB on Debian 9 | LinuxCloudVPS Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/how-to-install-mariadb-on-debian9.jpg\",\"datePublished\":\"2020-03-14T20:49:17+00:00\",\"description\":\"In this article, we will show you how to install MariaDB on a Debian 9 Cloud VPS. MariaDB is a free and open-source, backwards-compatible, enhanced and\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/how-to-install-mariadb-on-debian9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/how-to-install-mariadb-on-debian9.jpg\",\"width\":750,\"height\":360},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/how-to-install-mariadb-on-debian-9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install MariaDB on Debian 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"name\":\"LinuxCloudVPS\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#organization\",\"name\":\"LinuxCloudVPS\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/logo.png\",\"width\":217,\"height\":25,\"caption\":\"LinuxCloudVPS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/www.facebook.com\\\/LinuxCloudVPS\",\"https:\\\/\\\/x.com\\\/LinuxCloudVPS\",\"http:\\\/\\\/www.linkedin.com\\\/company\\\/linuxcloudvps-com\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/#\\\/schema\\\/person\\\/ed907227ee7d151c617e6d0fe74f531a\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/www.linuxcloudvps.com\\\/\"],\"url\":\"https:\\\/\\\/www.linuxcloudvps.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install MariaDB on Debian 9 | LinuxCloudVPS Blog","description":"In this article, we will show you how to install MariaDB on a Debian 9 Cloud VPS. MariaDB is a free and open-source, backwards-compatible, enhanced and","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.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install MariaDB on Debian 9 | LinuxCloudVPS Blog","og_description":"In this article, we will show you how to install MariaDB on a Debian 9 Cloud VPS. MariaDB is a free and open-source, backwards-compatible, enhanced and","og_url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/","og_site_name":"LinuxCloudVPS Blog","article_publisher":"http:\/\/www.facebook.com\/LinuxCloudVPS","article_published_time":"2020-03-14T20:49:17+00:00","og_image":[{"width":750,"height":360,"url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/03\/how-to-install-mariadb-on-debian9.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@LinuxCloudVPS","twitter_site":"@LinuxCloudVPS","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/#article","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/"},"author":{"name":"admin","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a"},"headline":"How to Install MariaDB on Debian 9","datePublished":"2020-03-14T20:49:17+00:00","mainEntityOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/"},"wordCount":623,"commentCount":0,"publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/03\/how-to-install-mariadb-on-debian9.jpg","articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/","name":"How to Install MariaDB on Debian 9 | LinuxCloudVPS Blog","isPartOf":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/03\/how-to-install-mariadb-on-debian9.jpg","datePublished":"2020-03-14T20:49:17+00:00","description":"In this article, we will show you how to install MariaDB on a Debian 9 Cloud VPS. MariaDB is a free and open-source, backwards-compatible, enhanced and","breadcrumb":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/#primaryimage","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/03\/how-to-install-mariadb-on-debian9.jpg","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2020\/03\/how-to-install-mariadb-on-debian9.jpg","width":750,"height":360},{"@type":"BreadcrumbList","@id":"https:\/\/www.linuxcloudvps.com\/blog\/how-to-install-mariadb-on-debian-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.linuxcloudvps.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install MariaDB on Debian 9"}]},{"@type":"WebSite","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#website","url":"https:\/\/www.linuxcloudvps.com\/blog\/","name":"LinuxCloudVPS","description":"","publisher":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.linuxcloudvps.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#organization","name":"LinuxCloudVPS","url":"https:\/\/www.linuxcloudvps.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","contentUrl":"https:\/\/www.linuxcloudvps.com\/blog\/wp-content\/uploads\/2023\/08\/logo.png","width":217,"height":25,"caption":"LinuxCloudVPS"},"image":{"@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/LinuxCloudVPS","https:\/\/x.com\/LinuxCloudVPS","http:\/\/www.linkedin.com\/company\/linuxcloudvps-com"]},{"@type":"Person","@id":"https:\/\/www.linuxcloudvps.com\/blog\/#\/schema\/person\/ed907227ee7d151c617e6d0fe74f531a","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"admin"},"sameAs":["http:\/\/www.linuxcloudvps.com\/"],"url":"https:\/\/www.linuxcloudvps.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/comments?post=1185"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1185\/revisions"}],"predecessor-version":[{"id":1192,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/posts\/1185\/revisions\/1192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media\/1188"}],"wp:attachment":[{"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/media?parent=1185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/categories?post=1185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcloudvps.com\/blog\/wp-json\/wp\/v2\/tags?post=1185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}