{"id":50,"date":"2024-06-03T20:59:19","date_gmt":"2024-06-03T20:59:19","guid":{"rendered":"https:\/\/kb.likuid.com\/?p=50"},"modified":"2024-06-05T12:52:03","modified_gmt":"2024-06-05T16:52:03","slug":"config-mysql","status":"publish","type":"post","link":"https:\/\/kb.likuid.com\/en\/config-mysql\/","title":{"rendered":"How to configure a MySQL database"},"content":{"rendered":"<h2>In this tutorial, we will see how to create a MySQL database in cPanel.<\/h2>\n<p><strong>First<\/strong>, log in to your cPanel interface. The link is <a target=\"_new\" rel=\"noreferrer noopener\">www.yourdomain.com:2082\/<\/a> &#8211;<\/p>\n<p>The login credentials are provided to you during your registration.<\/p>\n<p><strong>Once logged in<\/strong>, click on the MySQL Databases icon:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/secure.likuid.com\/imgkb\/MYSQL\/1.png\" alt=\"\" width=\"949\" height=\"543\" \/><\/p>\n<p>In the next screen, you first need to create a database. Choose a name for your database and enter it under Create a New Database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/secure.likuid.com\/imgkb\/MYSQL\/2.png\" alt=\"\" width=\"938\" height=\"311\" \/><\/p>\n<p>Note that the prefix in front of the database name is added automatically. This prefix is always your cPanel user, &#8220;laurentd&#8221; in our example.<\/p>\n<p>Once the database is created, you need to create a user who will be associated with this database. On the same page, create the user under Add New User.<\/p>\n<p>As with the database, the prefix is automatically added in front of the usernam<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/secure.likuid.com\/imgkb\/MYSQL\/3.png\" alt=\"\" width=\"957\" height=\"514\" \/><\/p>\n<p>Choose a password via the Password Generator to have a 100% secure password for your database.<\/p>\n<p>The next step is to associate your MySQL user with the correct database. Use Add User to Database for this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/secure.likuid.com\/imgkb\/MYSQL\/4.png\" alt=\"\" width=\"736\" height=\"258\" \/><\/p>\n<p>You will need to specify the privileges to associate with the user for this database. It is best to grant all privileges in most cases, especially if you are installing a CMS.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/secure.likuid.com\/imgkb\/MYSQL\/5.png\" alt=\"\" width=\"428\" height=\"832\" \/><\/p>\n<div class=\"w-full text-token-text-primary\" dir=\"auto\" data-testid=\"conversation-turn-6\" data-scroll-anchor=\"false\">\n<div class=\"py-2 juice:py-[18px] px-3 text-base md:px-4 m-auto md:px-5 lg:px-1 xl:px-5\">\n<div class=\"mx-auto flex flex-1 gap-3 text-base juice:gap-4 juice:md:gap-6 md:max-w-3xl lg:max-w-[40rem] xl:max-w-[48rem]\">\n<div class=\"group\/conversation-turn relative flex w-full min-w-0 flex-col\">\n<div class=\"flex-col gap-1 md:gap-3\">\n<div class=\"flex flex-grow flex-col max-w-full\">\n<div class=\"min-h-[20px] text-message flex flex-col items-start whitespace-pre-wrap break-words [.text-message+&amp;]:mt-5 juice:w-full juice:items-end overflow-x-auto gap-3\" dir=\"auto\" data-message-author-role=\"user\" data-message-id=\"aaa23d22-5efc-4881-9ec4-ee76432bca2b\">\n<div class=\"relative max-w-[70%]\">And that&#8217;s it, your database is configured and ready to use.<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will see how to create a MySQL database in cPanel. First, log in to your cPanel interface. The link is www.yourdomain.com:2082\/ &#8211; The login credentials are provided to you during your registration. Once logged in, click on the MySQL Databases icon: In the next screen, you first need to create a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":611,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-50","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to configure a MySQL database | LIKUID.COM<\/title>\n<meta name=\"description\" content=\"Learn how to set up a MySQL database with our step-by-step guide for beginners and intermediates. Easily create your first database today\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.likuid.com\/en\/config-mysql\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure a MySQL database | LIKUID.COM\" \/>\n<meta property=\"og:description\" content=\"Learn how to set up a MySQL database with our step-by-step guide for beginners and intermediates. Easily create your first database today\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.likuid.com\/en\/config-mysql\/\" \/>\n<meta property=\"og:site_name\" content=\"LIKUID.COM\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-03T20:59:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-05T16:52:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kb.likuid.com\/wp-content\/uploads\/2024\/06\/How-To-Configure-A-Mysql-Database.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1700\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Patrice\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Patrice\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.likuid.com\/en\/config-mysql\/\",\"url\":\"https:\/\/kb.likuid.com\/en\/config-mysql\/\",\"name\":\"How to configure a MySQL database | LIKUID.COM\",\"isPartOf\":{\"@id\":\"https:\/\/kb.likuid.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kb.likuid.com\/en\/config-mysql\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kb.likuid.com\/en\/config-mysql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kb.likuid.com\/wp-content\/uploads\/2024\/06\/How-To-Configure-A-Mysql-Database.png\",\"datePublished\":\"2024-06-03T20:59:19+00:00\",\"dateModified\":\"2024-06-05T16:52:03+00:00\",\"author\":{\"@id\":\"https:\/\/kb.likuid.com\/en\/#\/schema\/person\/a09e9bdf2155a9c975f364b54e90a027\"},\"description\":\"Learn how to set up a MySQL database with our step-by-step guide for beginners and intermediates. Easily create your first database today\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.likuid.com\/en\/config-mysql\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.likuid.com\/en\/config-mysql\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.likuid.com\/en\/config-mysql\/#primaryimage\",\"url\":\"https:\/\/kb.likuid.com\/wp-content\/uploads\/2024\/06\/How-To-Configure-A-Mysql-Database.png\",\"contentUrl\":\"https:\/\/kb.likuid.com\/wp-content\/uploads\/2024\/06\/How-To-Configure-A-Mysql-Database.png\",\"width\":1700,\"height\":1000,\"caption\":\"How To Configure A Mysql Database\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.likuid.com\/en\/config-mysql\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kb.likuid.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure a MySQL database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.likuid.com\/en\/#website\",\"url\":\"https:\/\/kb.likuid.com\/en\/\",\"name\":\"LIKUID.COM\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.likuid.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.likuid.com\/en\/#\/schema\/person\/a09e9bdf2155a9c975f364b54e90a027\",\"name\":\"Patrice\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.likuid.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/54ddd989d271925fb945a8b417728c3836b6cb17c0efe2f21cf98efc38b98a37?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/54ddd989d271925fb945a8b417728c3836b6cb17c0efe2f21cf98efc38b98a37?s=96&d=mm&r=g\",\"caption\":\"Patrice\"},\"url\":\"https:\/\/kb.likuid.com\/en\/author\/patrice\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure a MySQL database | LIKUID.COM","description":"Learn how to set up a MySQL database with our step-by-step guide for beginners and intermediates. Easily create your first database today","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:\/\/kb.likuid.com\/en\/config-mysql\/","og_locale":"en_US","og_type":"article","og_title":"How to configure a MySQL database | LIKUID.COM","og_description":"Learn how to set up a MySQL database with our step-by-step guide for beginners and intermediates. Easily create your first database today","og_url":"https:\/\/kb.likuid.com\/en\/config-mysql\/","og_site_name":"LIKUID.COM","article_published_time":"2024-06-03T20:59:19+00:00","article_modified_time":"2024-06-05T16:52:03+00:00","og_image":[{"width":1700,"height":1000,"url":"https:\/\/kb.likuid.com\/wp-content\/uploads\/2024\/06\/How-To-Configure-A-Mysql-Database.png","type":"image\/png"}],"author":"Patrice","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Patrice","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/kb.likuid.com\/en\/config-mysql\/","url":"https:\/\/kb.likuid.com\/en\/config-mysql\/","name":"How to configure a MySQL database | LIKUID.COM","isPartOf":{"@id":"https:\/\/kb.likuid.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kb.likuid.com\/en\/config-mysql\/#primaryimage"},"image":{"@id":"https:\/\/kb.likuid.com\/en\/config-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/kb.likuid.com\/wp-content\/uploads\/2024\/06\/How-To-Configure-A-Mysql-Database.png","datePublished":"2024-06-03T20:59:19+00:00","dateModified":"2024-06-05T16:52:03+00:00","author":{"@id":"https:\/\/kb.likuid.com\/en\/#\/schema\/person\/a09e9bdf2155a9c975f364b54e90a027"},"description":"Learn how to set up a MySQL database with our step-by-step guide for beginners and intermediates. Easily create your first database today","breadcrumb":{"@id":"https:\/\/kb.likuid.com\/en\/config-mysql\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.likuid.com\/en\/config-mysql\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.likuid.com\/en\/config-mysql\/#primaryimage","url":"https:\/\/kb.likuid.com\/wp-content\/uploads\/2024\/06\/How-To-Configure-A-Mysql-Database.png","contentUrl":"https:\/\/kb.likuid.com\/wp-content\/uploads\/2024\/06\/How-To-Configure-A-Mysql-Database.png","width":1700,"height":1000,"caption":"How To Configure A Mysql Database"},{"@type":"BreadcrumbList","@id":"https:\/\/kb.likuid.com\/en\/config-mysql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kb.likuid.com\/en\/"},{"@type":"ListItem","position":2,"name":"How to configure a MySQL database"}]},{"@type":"WebSite","@id":"https:\/\/kb.likuid.com\/en\/#website","url":"https:\/\/kb.likuid.com\/en\/","name":"LIKUID.COM","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.likuid.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kb.likuid.com\/en\/#\/schema\/person\/a09e9bdf2155a9c975f364b54e90a027","name":"Patrice","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.likuid.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/54ddd989d271925fb945a8b417728c3836b6cb17c0efe2f21cf98efc38b98a37?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/54ddd989d271925fb945a8b417728c3836b6cb17c0efe2f21cf98efc38b98a37?s=96&d=mm&r=g","caption":"Patrice"},"url":"https:\/\/kb.likuid.com\/en\/author\/patrice\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/posts\/50","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/comments?post=50"}],"version-history":[{"count":9,"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":633,"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/posts\/50\/revisions\/633"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/media\/611"}],"wp:attachment":[{"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/media?parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/categories?post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.likuid.com\/en\/wp-json\/wp\/v2\/tags?post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}