{"id":16889,"date":"2024-08-29T10:18:29","date_gmt":"2024-08-29T03:18:29","guid":{"rendered":"https:\/\/interdata.vn\/blog\/?p=16889"},"modified":"2026-03-19T15:09:40","modified_gmt":"2026-03-19T08:09:40","slug":"cach-tao-database-tren-hosting-cpanel","status":"publish","type":"post","link":"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/","title":{"rendered":"C\u00e1ch t\u1ea1o Database tr\u00ean Hosting cPanel: H\u01b0\u1edbng d\u1eabn A-Z"},"content":{"rendered":"<p>B\u1ea1n \u0111ang g\u1eb7p kh\u00f3 kh\u0103n khi <strong>t\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u<\/strong> (database) cho website <a href=\"https:\/\/interdata.vn\/blog\/wordpress-la-gi\/\">WordPress<\/a> ho\u1eb7c <a href=\"https:\/\/interdata.vn\/blog\/web-application-la-gi\/\">\u1ee9ng d\u1ee5ng web<\/a> tr\u00ean <a href=\"https:\/\/interdata.vn\/blog\/cpanel\/\">cPanel<\/a>? Trong b\u00e0i vi\u1ebft n\u00e0y, InterData s\u1ebd h\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1eebng b\u01b0\u1edbc <strong>c\u00e1ch t\u1ea1o database trong cPanel<\/strong> m\u1ed9t c\u00e1ch nhanh ch\u00f3ng v\u00e0 an to\u00e0n nh\u1ea5t.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-white ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">N\u1ed8I DUNG<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Database-trong-cPanel-la-gi\" >Database trong cPanel l\u00e0 g\u00ec?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Huong-dan-cach-tao-Database-tren-Hosting-cPanel-chi-tiet\" >H\u01b0\u1edbng d\u1eabn c\u00e1ch t\u1ea1o Database tr\u00ean Hosting cPanel chi ti\u1ebft<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Buoc-1-Dang-nhap-vao-cPanel\" >B\u01b0\u1edbc 1: \u0110\u0103ng nh\u1eadp v\u00e0o cPanel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Buoc-2-Tim-kiem-phan-%E2%80%9CDatabases%E2%80%9D\" >B\u01b0\u1edbc 2: T\u00ecm ki\u1ebfm ph\u1ea7n &#8220;Databases&#8221;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Buoc-3-Chon-%E2%80%9CManage-My-Databases%E2%80%9D\" >B\u01b0\u1edbc 3: Ch\u1ecdn &#8220;Manage My Databases&#8221;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Buoc-4-Tao-co-so-du-lieu-moi\" >B\u01b0\u1edbc 4: T\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u m\u1edbi<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Buoc-5-Tao-nguoi-dung-cho-co-so-du-lieu\" >B\u01b0\u1edbc 5: T\u1ea1o ng\u01b0\u1eddi d\u00f9ng cho c\u01a1 s\u1edf d\u1eef li\u1ec7u<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Buoc-6-Cap-quyen-cho-nguoi-dung\" >B\u01b0\u1edbc 6: C\u1ea5p quy\u1ec1n cho ng\u01b0\u1eddi d\u00f9ng<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Buoc-7-Kiem-tra-va-hoan-tat\" >B\u01b0\u1edbc 7: Ki\u1ec3m tra v\u00e0 ho\u00e0n t\u1ea5t<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Cach-quan-ly-Database-voi-phpMyAdmin\" >C\u00e1ch qu\u1ea3n l\u00fd Database v\u1edbi phpMyAdmin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/interdata.vn\/blog\/cach-tao-database-tren-hosting-cpanel\/#Nhung-luu-y-de-bao-mat-Database-cPanel\" >Nh\u1eefng l\u01b0u \u00fd \u0111\u1ec3 b\u1ea3o m\u1eadt Database cPanel<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Database-trong-cPanel-la-gi\"><\/span>Database trong cPanel l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Database<\/strong> <em>(c\u01a1 s\u1edf d\u1eef li\u1ec7u)<\/em> l\u00e0 m\u1ed9t t\u1eadp h\u1ee3p c\u00e1c d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c t\u1ed5 ch\u1ee9c theo m\u1ed9t c\u1ea5u tr\u00fac nh\u1ea5t \u0111\u1ecbnh, cho ph\u00e9p d\u1ec5 d\u00e0ng qu\u1ea3n l\u00fd, truy xu\u1ea5t v\u00e0 c\u1eadp nh\u1eadt th\u00f4ng tin. C\u01a1 s\u1edf d\u1eef li\u1ec7u th\u01b0\u1eddng \u0111\u01b0\u1ee3c l\u01b0u tr\u1eef d\u01b0\u1edbi d\u1ea1ng \u0111i\u1ec7n t\u1eed v\u00e0 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c truy c\u1eadp t\u1eeb c\u00e1c h\u1ec7 th\u1ed1ng m\u00e1y t\u00ednh. C\u00e1c d\u1eef li\u1ec7u trong c\u01a1 s\u1edf d\u1eef li\u1ec7u th\u01b0\u1eddng \u0111\u01b0\u1ee3c m\u00f4 h\u00ecnh h\u00f3a trong c\u00e1c b\u1ea3ng, v\u1edbi c\u00e1c h\u00e0ng v\u00e0 c\u1ed9t, gi\u00fap cho vi\u1ec7c x\u1eed l\u00fd v\u00e0 truy v\u1ea5n d\u1eef li\u1ec7u tr\u1edf n\u00ean nhanh ch\u00f3ng v\u00e0 hi\u1ec7u qu\u1ea3.<\/p>\n<p>C\u01a1 s\u1edf d\u1eef li\u1ec7u th\u01b0\u1eddng \u0111\u01b0\u1ee3c qu\u1ea3n l\u00fd b\u1edfi m\u1ed9t h\u1ec7 qu\u1ea3n tr\u1ecb c\u01a1 s\u1edf d\u1eef li\u1ec7u (DBMS), cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng th\u1ef1c hi\u1ec7n c\u00e1c thao t\u00e1c nh\u01b0 th\u00eam, s\u1eeda, x\u00f3a v\u00e0 t\u00ecm ki\u1ebfm d\u1eef li\u1ec7u m\u1ed9t c\u00e1ch d\u1ec5 d\u00e0ng. C\u00e1c h\u1ec7 qu\u1ea3n tr\u1ecb ph\u1ed5 bi\u1ebfn hi\u1ec7n nay bao g\u1ed3m <a href=\"https:\/\/interdata.vn\/blog\/mysql-la-gi\/\">MySQL<\/a>, <a href=\"https:\/\/interdata.vn\/blog\/postgresql-la-gi\/\">PostgreSQL<\/a> v\u00e0 <a href=\"https:\/\/interdata.vn\/blog\/mariadb-la-gi\/\">MariaDB<\/a>.<\/p>\n<figure id=\"attachment_16904\" aria-describedby=\"caption-attachment-16904\" style=\"width: 799px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16904\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/database-la-gi.webp\" alt=\"Database l\u00e0 g\u00ec?\" width=\"799\" height=\"533\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/database-la-gi.webp 799w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/database-la-gi-300x200.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/database-la-gi-768x512.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/database-la-gi-750x500.webp 750w\" sizes=\"auto, (max-width: 799px) 100vw, 799px\" \/><figcaption id=\"caption-attachment-16904\" class=\"wp-caption-text\">Database l\u00e0 g\u00ec?<\/figcaption><\/figure>\n<h2><span class=\"ez-toc-section\" id=\"Huong-dan-cach-tao-Database-tren-Hosting-cPanel-chi-tiet\"><\/span>H\u01b0\u1edbng d\u1eabn c\u00e1ch t\u1ea1o Database tr\u00ean Hosting cPanel chi ti\u1ebft<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-1-Dang-nhap-vao-cPanel\"><\/span>B\u01b0\u1edbc 1: \u0110\u0103ng nh\u1eadp v\u00e0o cPanel<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Tr\u01b0\u1edbc ti\u00ean, b\u1ea1n c\u1ea7n \u0111\u0103ng nh\u1eadp v\u00e0o t\u00e0i kho\u1ea3n cPanel c\u1ee7a m\u00ecnh. C\u00e1ch \u0111\u01a1n gi\u1ea3n nh\u1ea5t l\u00e0 truy c\u1eadp v\u00e0o cPanel l\u00e0 <strong>\u0111\u0103ng nh\u1eadp v\u00e0o t\u00e0i kho\u1ea3n portal<\/strong> tr\u00ean website c\u1ee7a nh\u00e0 cung c\u1ea5p v\u00e0 ch\u1ecdn <strong>&#8220;\u0110\u0103ng nh\u1eadp v\u00e0o cPanel&#8221;<\/strong> t\u1ea1i trang <strong>&#8220;Qu\u1ea3n l\u00fd d\u1ecbch v\u1ee5&#8221;<\/strong>.<\/p>\n<figure id=\"attachment_16616\" aria-describedby=\"caption-attachment-16616\" style=\"width: 900px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16616\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/sign-in-tai-khoan-portal-interdata.webp\" alt=\"Sign in v\u00e0o t\u00e0i kho\u1ea3n Portal tr\u00ean website InterData\" width=\"900\" height=\"415\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/sign-in-tai-khoan-portal-interdata.webp 900w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/sign-in-tai-khoan-portal-interdata-300x138.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/sign-in-tai-khoan-portal-interdata-768x354.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/sign-in-tai-khoan-portal-interdata-750x346.webp 750w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><figcaption id=\"caption-attachment-16616\" class=\"wp-caption-text\">\u0110\u0103ng nh\u1eadp v\u00e0o t\u00e0i kho\u1ea3n Portal tr\u00ean website nh\u00e0 cung c\u1ea5p<\/figcaption><\/figure>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-2-Tim-kiem-phan-%E2%80%9CDatabases%E2%80%9D\"><\/span>B\u01b0\u1edbc 2: T\u00ecm ki\u1ebfm ph\u1ea7n &#8220;Databases&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Sau khi \u0111\u0103ng nh\u1eadp th\u00e0nh c\u00f4ng, b\u1ea1n s\u1ebd th\u1ea5y giao di\u1ec7n ch\u00ednh c\u1ee7a cPanel. T\u1ea1i \u0111\u00e2y, h\u00e3y t\u00ecm ph\u1ea7n c\u00f3 ti\u00eau \u0111\u1ec1\u00a0<strong>Databases<\/strong>. Trong ph\u1ea7n n\u00e0y, b\u1ea1n s\u1ebd th\u1ea5y nhi\u1ec1u t\u00f9y ch\u1ecdn li\u00ean quan \u0111\u1ebfn c\u01a1 s\u1edf d\u1eef li\u1ec7u.<\/p>\n<figure id=\"attachment_16905\" aria-describedby=\"caption-attachment-16905\" style=\"width: 1286px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16905\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-7.webp\" alt=\"c\u00e1ch t\u1ea1o database tr\u00ean hosting cpanel\" width=\"1286\" height=\"589\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-7.webp 1286w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-7-300x137.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-7-1024x469.webp 1024w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-7-768x352.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-7-750x344.webp 750w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-7-1140x522.webp 1140w\" sizes=\"auto, (max-width: 1286px) 100vw, 1286px\" \/><figcaption id=\"caption-attachment-16905\" class=\"wp-caption-text\">T\u00ecm ki\u1ebfm ph\u1ea7n &#8220;Databases&#8221;<\/figcaption><\/figure>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-3-Chon-%E2%80%9CManage-My-Databases%E2%80%9D\"><\/span>B\u01b0\u1edbc 3: Ch\u1ecdn &#8220;Manage My Databases&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Trong ph\u1ea7n Databases, h\u00e3y nh\u1ea5p v\u00e0o bi\u1ec3u t\u01b0\u1ee3ng <strong>Manage My Databases<\/strong>. \u0110\u00e2y l\u00e0 n\u01a1i b\u1ea1n s\u1ebd th\u1ef1c hi\u1ec7n c\u00e1c thao t\u00e1c li\u00ean quan \u0111\u1ebfn vi\u1ec7c t\u1ea1o v\u00e0 qu\u1ea3n l\u00fd c\u01a1 s\u1edf d\u1eef li\u1ec7u MySQL.<\/p>\n<figure id=\"attachment_16897\" aria-describedby=\"caption-attachment-16897\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16897\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-1.webp\" alt=\"c\u00e1ch t\u1ea1o database tr\u00ean hosting cpanel\" width=\"800\" height=\"182\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-1.webp 800w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-1-300x68.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-1-768x175.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-1-750x171.webp 750w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption id=\"caption-attachment-16897\" class=\"wp-caption-text\">Ch\u1ecdn &#8220;Manage My Databases&#8221;<\/figcaption><\/figure>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-4-Tao-co-so-du-lieu-moi\"><\/span>B\u01b0\u1edbc 4: T\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u m\u1edbi<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><strong>Nh\u1eadp t\u00ean c\u01a1 s\u1edf d\u1eef li\u1ec7u:<\/strong> T\u1ea1i m\u1ee5c\u00a0<strong>Create New Database<\/strong>, b\u1ea1n s\u1ebd th\u1ea5y m\u1ed9t \u00f4 nh\u1eadp li\u1ec7u. Nh\u1eadp t\u00ean cho c\u01a1 s\u1edf d\u1eef li\u1ec7u c\u1ee7a b\u1ea1n. L\u01b0u \u00fd r\u1eb1ng t\u00ean c\u01a1 s\u1edf d\u1eef li\u1ec7u th\u01b0\u1eddng ph\u1ea3i b\u1eaft \u0111\u1ea7u b\u1eb1ng t\u00ean mi\u1ec1n c\u1ee7a b\u1ea1n (v\u00ed d\u1ee5:\u00a0yourdomain_db).<\/p>\n<p>Nh\u1ea5n n\u00fat <strong>&#8220;Create Database&#8221;<\/strong>: Sau khi nh\u1eadp t\u00ean, h\u00e3y nh\u1ea5n v\u00e0o n\u00fat\u00a0<strong>Create Database<\/strong>. B\u1ea1n s\u1ebd nh\u1eadn \u0111\u01b0\u1ee3c th\u00f4ng b\u00e1o x\u00e1c nh\u1eadn r\u1eb1ng c\u01a1 s\u1edf d\u1eef li\u1ec7u \u0111\u00e3 \u0111\u01b0\u1ee3c t\u1ea1o th\u00e0nh c\u00f4ng.<\/p>\n<figure id=\"attachment_16898\" aria-describedby=\"caption-attachment-16898\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16898\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-2.webp\" alt=\"c\u00e1ch t\u1ea1o database tr\u00ean hosting cpanel\" width=\"800\" height=\"373\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-2.webp 800w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-2-300x140.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-2-768x358.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-2-750x350.webp 750w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption id=\"caption-attachment-16898\" class=\"wp-caption-text\">T\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u m\u1edbi<\/figcaption><\/figure>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-5-Tao-nguoi-dung-cho-co-so-du-lieu\"><\/span>B\u01b0\u1edbc 5: T\u1ea1o ng\u01b0\u1eddi d\u00f9ng cho c\u01a1 s\u1edf d\u1eef li\u1ec7u<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Sau khi t\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u, b\u1ea1n c\u1ea7n t\u1ea1o m\u1ed9t ng\u01b0\u1eddi d\u00f9ng \u0111\u1ec3 qu\u1ea3n l\u00fd c\u01a1 s\u1edf d\u1eef li\u1ec7u \u0111\u00f3.<\/p>\n<ul>\n<li>T\u1ea1i m\u1ee5c <strong>&#8220;MySQL Users&#8221;<\/strong>, t\u00ecm \u00f4 nh\u1eadp li\u1ec7u \u0111\u1ec3 th\u00eam ng\u01b0\u1eddi d\u00f9ng m\u1edbi. Nh\u1eadp t\u00ean ng\u01b0\u1eddi d\u00f9ng v\u00e0 m\u1eadt kh\u1ea9u. \u0110\u1ea3m b\u1ea3o r\u1eb1ng m\u1eadt kh\u1ea9u \u0111\u1ee7 m\u1ea1nh \u0111\u1ec3 b\u1ea3o v\u1ec7 c\u01a1 s\u1edf d\u1eef li\u1ec7u c\u1ee7a b\u1ea1n.<\/li>\n<li>Nh\u1ea5n n\u00fat <strong>&#8220;Create User&#8221;<\/strong>: Sau khi \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 th\u00f4ng tin, nh\u1ea5n v\u00e0o n\u00fat\u00a0Create User. B\u1ea1n s\u1ebd nh\u1eadn \u0111\u01b0\u1ee3c th\u00f4ng b\u00e1o x\u00e1c nh\u1eadn r\u1eb1ng ng\u01b0\u1eddi d\u00f9ng \u0111\u00e3 \u0111\u01b0\u1ee3c t\u1ea1o th\u00e0nh c\u00f4ng.<\/li>\n<\/ul>\n<figure id=\"attachment_16899\" aria-describedby=\"caption-attachment-16899\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16899\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-3.webp\" alt=\"c\u00e1ch t\u1ea1o database tr\u00ean hosting cpanel\" width=\"800\" height=\"425\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-3.webp 800w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-3-300x159.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-3-768x408.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-3-750x398.webp 750w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption id=\"caption-attachment-16899\" class=\"wp-caption-text\">T\u1ea1o ng\u01b0\u1eddi d\u00f9ng cho c\u01a1 s\u1edf d\u1eef li\u1ec7u<\/figcaption><\/figure>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-6-Cap-quyen-cho-nguoi-dung\"><\/span>B\u01b0\u1edbc 6: C\u1ea5p quy\u1ec1n cho ng\u01b0\u1eddi d\u00f9ng<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>B\u00e2y gi\u1edd, b\u1ea1n c\u1ea7n c\u1ea5p quy\u1ec1n cho ng\u01b0\u1eddi d\u00f9ng m\u00e0 b\u1ea1n v\u1eeba t\u1ea1o \u0111\u1ec3 h\u1ecd c\u00f3 th\u1ec3 truy c\u1eadp v\u00e0 qu\u1ea3n l\u00fd c\u01a1 s\u1edf d\u1eef li\u1ec7u.<\/p>\n<p>T\u1ea1i m\u1ee5c &#8220;<strong>Add User to Database<\/strong>&#8220;, ch\u1ecdn ng\u01b0\u1eddi d\u00f9ng v\u00e0 c\u01a1 s\u1edf d\u1eef li\u1ec7u m\u00e0 b\u1ea1n mu\u1ed1n c\u1ea5p quy\u1ec1n.<\/p>\n<figure id=\"attachment_16900\" aria-describedby=\"caption-attachment-16900\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16900\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-4.webp\" alt=\"c\u00e1ch t\u1ea1o database tr\u00ean hosting cpanel\" width=\"800\" height=\"315\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-4.webp 800w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-4-300x118.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-4-768x302.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-4-750x295.webp 750w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption id=\"caption-attachment-16900\" class=\"wp-caption-text\">C\u1ea5p quy\u1ec1n cho ng\u01b0\u1eddi d\u00f9ng<\/figcaption><\/figure>\n<p>Ch\u1ecdn quy\u1ec1n truy c\u1eadp: B\u1ea1n c\u00f3 th\u1ec3 ch\u1ecdn c\u1ea5p quy\u1ec1n \u0111\u1ea7y \u0111\u1ee7 ho\u1eb7c ch\u1ec9 m\u1ed9t s\u1ed1 quy\u1ec1n c\u1ee5 th\u1ec3. \u0110\u1ec3 c\u1ea5p quy\u1ec1n \u0111\u1ea7y \u0111\u1ee7, h\u00e3y \u0111\u00e1nh d\u1ea5u v\u00e0o \u00f4\u00a0All Privileges.<\/p>\n<figure id=\"attachment_16906\" aria-describedby=\"caption-attachment-16906\" style=\"width: 924px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16906\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-8.webp\" alt=\"c\u00e1ch t\u1ea1o database tr\u00ean hosting cpanel\" width=\"924\" height=\"828\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-8.webp 924w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-8-300x269.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-8-768x688.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-8-750x672.webp 750w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><figcaption id=\"caption-attachment-16906\" class=\"wp-caption-text\">\u0110\u00e1nh d\u1ea5u v\u00e0o \u00f4\u00a0All Privileges<\/figcaption><\/figure>\n<p>Nh\u1ea5n n\u00fat <strong>&#8220;Make Changes&#8221;<\/strong>: Cu\u1ed1i c\u00f9ng, nh\u1ea5n v\u00e0o n\u00fat Add \u0111\u1ec3 ho\u00e0n t\u1ea5t qu\u00e1 tr\u00ecnh c\u1ea5p quy\u1ec1n. B\u1ea1n s\u1ebd th\u1ea5y m\u1ed9t th\u00f4ng b\u00e1o x\u00e1c nh\u1eadn r\u1eb1ng quy\u1ec1n \u0111\u00e3 \u0111\u01b0\u1ee3c c\u1ea5p th\u00e0nh c\u00f4ng.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-7-Kiem-tra-va-hoan-tat\"><\/span>B\u01b0\u1edbc 7: Ki\u1ec3m tra v\u00e0 ho\u00e0n t\u1ea5t<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Sau khi ho\u00e0n t\u1ea5t c\u00e1c b\u01b0\u1edbc tr\u00ean, b\u1ea1n \u0111\u00e3 t\u1ea1o th\u00e0nh c\u00f4ng c\u01a1 s\u1edf d\u1eef li\u1ec7u tr\u00ean Hosting cPanel. B\u1ea1n c\u00f3 th\u1ec3 ki\u1ec3m tra l\u1ea1i trong ph\u1ea7n\u00a0Current Databases\u00a0\u0111\u1ec3 x\u00e1c nh\u1eadn r\u1eb1ng c\u01a1 s\u1edf d\u1eef li\u1ec7u v\u00e0 ng\u01b0\u1eddi d\u00f9ng \u0111\u00e3 \u0111\u01b0\u1ee3c t\u1ea1o \u0111\u00fang c\u00e1ch.<\/p>\n<figure id=\"attachment_16902\" aria-describedby=\"caption-attachment-16902\" style=\"width: 800px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-16902\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-6.webp\" alt=\"c\u00e1ch t\u1ea1o database tr\u00ean hosting cpanel\" width=\"800\" height=\"187\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-6.webp 800w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-6-300x70.webp 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-6-768x180.webp 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/cach-tao-database-tren-hosting-cpanel-6-750x175.webp 750w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption id=\"caption-attachment-16902\" class=\"wp-caption-text\">Ki\u1ec3m tra v\u00e0 ho\u00e0n t\u1ea5t<\/figcaption><\/figure>\n<p>Sau khi \u0111\u00e3 ho\u00e0n t\u1ea5t c\u00e1c b\u01b0\u1edbc t\u1ea1o database mysql cpanel, b\u1ea1n c\u00f3 th\u1ec3 truy c\u1eadp ngay v\u00e0o trang qu\u1ea3n tr\u1ecb \u0111\u1ec3 ki\u1ec3m tra c\u00e1c c\u1ea5u tr\u00fac b\u1ea3ng th\u00f4ng qua <strong><a href=\"https:\/\/interdata.vn\/blog\/phpmyadmin-la-gi\/\">c\u00e1ch d\u00f9ng phpmyadmin cpanel<\/a><\/strong>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Cach-quan-ly-Database-voi-phpMyAdmin\"><\/span>C\u00e1ch qu\u1ea3n l\u00fd Database v\u1edbi phpMyAdmin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Sau khi t\u1ea1o xong, b\u1ea1n c\u1ea7n bi\u1ebft c\u00e1ch truy c\u1eadp \u0111\u1ec3 xem ho\u1eb7c s\u1eeda d\u1eef li\u1ec7u.<\/p>\n<ul>\n<li><strong>C\u00e1ch truy c\u1eadp:<\/strong> T\u1ea1i giao di\u1ec7n cPanel, t\u00ecm m\u1ee5c <strong>Databases<\/strong> &gt; ch\u1ecdn <strong>phpMyAdmin<\/strong>.<\/li>\n<li><strong>C\u00e1c thao t\u00e1c ph\u1ed5 bi\u1ebfn:<\/strong>\n<ul>\n<li><strong>Import:<\/strong> Nh\u1eadp file .sql \u0111\u1ec3 kh\u00f4i ph\u1ee5c d\u1eef li\u1ec7u ho\u1eb7c chuy\u1ec3n website.<\/li>\n<li><strong>Export:<\/strong> Xu\u1ea5t file backup database v\u1ec1 m\u00e1y t\u00ednh.<\/li>\n<li><strong>S\u1eeda l\u1ed7i:<\/strong> Ki\u1ec3m tra v\u00e0 s\u1eeda b\u1ea3ng (Repair table) n\u1ebfu d\u1eef li\u1ec7u b\u1ecb l\u1ed7i.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<figure id=\"attachment_40076\" aria-describedby=\"caption-attachment-40076\" style=\"width: 1020px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-40076 size-large\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/quan-ly-Database-voi-phpMyAdmin-1024x353.png\" alt=\"qu\u1ea3n l\u00fd Database v\u1edbi phpMyAdmin\" width=\"1020\" height=\"352\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/quan-ly-Database-voi-phpMyAdmin-1024x353.png 1024w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/quan-ly-Database-voi-phpMyAdmin-300x103.png 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/quan-ly-Database-voi-phpMyAdmin-768x264.png 768w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2024\/08\/quan-ly-Database-voi-phpMyAdmin.png 1214w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><figcaption id=\"caption-attachment-40076\" class=\"wp-caption-text\">qu\u1ea3n l\u00fd Database v\u1edbi phpMyAdmin<\/figcaption><\/figure>\n<p>Vi\u1ec7c t\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u v\u00e0 qu\u1ea3n l\u00fd c\u01a1 b\u1ea3n ch\u1ec9 l\u00e0 b\u01b0\u1edbc kh\u1edfi \u0111\u1ea7u. \u0110\u1ec3 n\u1eafm v\u1eefng to\u00e0n b\u1ed9 quy tr\u00ecnh v\u1eadn h\u00e0nh v\u00e0 t\u1ed1i \u01b0u h\u00f3a h\u1ec7 th\u1ed1ng, b\u1ea1n n\u00ean t\u00ecm hi\u1ec3u th\u00eam v\u1ec1 c\u00e1c <strong><a href=\"https:\/\/interdata.vn\/blog\/quan-ly-database-tren-cpanel \/\">k\u1ef9 thu\u1eadt qu\u1ea3n l\u00fd database cpanel<\/a><\/strong> chuy\u00ean s\u00e2u h\u01a1n.&#8221;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Nhung-luu-y-de-bao-mat-Database-cPanel\"><\/span>Nh\u1eefng l\u01b0u \u00fd \u0111\u1ec3 b\u1ea3o m\u1eadt Database cPanel<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u0110\u1ec3 website c\u1ee7a b\u1ea1n kh\u00f4ng b\u1ecb t\u1ea5n c\u00f4ng qua \u0111\u01b0\u1eddng c\u01a1 s\u1edf d\u1eef li\u1ec7u:<\/p>\n<ol>\n<li><strong>Kh\u00f4ng \u0111\u1eb7t m\u1eadt kh\u1ea9u y\u1ebfu:<\/strong> S\u1eed d\u1ee5ng k\u00fd t\u1ef1 \u0111\u1eb7c bi\u1ec7t, ch\u1eef hoa, ch\u1eef th\u01b0\u1eddng v\u00e0 s\u1ed1.<\/li>\n<li><strong>Gi\u1edbi h\u1ea1n quy\u1ec1n:<\/strong> Ch\u1ec9 c\u1ea5p quy\u1ec1n c\u1ea7n thi\u1ebft cho user (n\u1ebfu d\u00f9ng nhi\u1ec1u user cho nhi\u1ec1u m\u1ee5c \u0111\u00edch).<\/li>\n<li><strong>Backup \u0111\u1ecbnh k\u1ef3:<\/strong> S\u1eed d\u1ee5ng t\u00ednh n\u0103ng <strong>Backup<\/strong> trong cPanel \u0111\u1ec3 t\u1ea3i file .sql v\u1ec1 m\u00e1y h\u00e0ng tu\u1ea7n.<\/li>\n<li><strong>\u0110\u1ed5i ti\u1ec1n t\u1ed1 b\u1ea3ng (Table Prefix):<\/strong> N\u1ebfu d\u00f9ng WordPress, h\u00e3y \u0111\u1ed5i ti\u1ec1n t\u1ed1 wp_ th\u00e0nh m\u1ed9t c\u00e1i t\u00ean kh\u00f3 \u0111o\u00e1n h\u01a1n \u0111\u1ec3 ch\u1ed1ng SQL Injection.<\/li>\n<\/ol>\n<p>Vi\u1ec7c t\u1ea1o v\u00e0 qu\u1ea3n l\u00fd database trong cPanel kh\u00f4ng h\u1ec1 kh\u00f3 n\u1ebfu b\u1ea1n l\u00e0m theo \u0111\u00fang quy tr\u00ecnh. Hy v\u1ecdng b\u00e0i h\u01b0\u1edbng d\u1eabn n\u00e0y gi\u00fap b\u1ea1n t\u1ef1 tin h\u01a1n trong vi\u1ec7c v\u1eadn h\u00e0nh website. N\u1ebfu g\u1eb7p b\u1ea5t k\u1ef3 kh\u00f3 kh\u0103n n\u00e0o, \u0111\u1eebng ng\u1ea7n ng\u1ea1i \u0111\u1ec3 l\u1ea1i b\u00ecnh lu\u1eadn ph\u00eda d\u01b0\u1edbi!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>B\u1ea1n \u0111ang g\u1eb7p kh\u00f3 kh\u0103n khi t\u1ea1o c\u01a1 s\u1edf d\u1eef li\u1ec7u (database) cho website WordPress ho\u1eb7c \u1ee9ng d\u1ee5ng web tr\u00ean cPanel? Trong b\u00e0i vi\u1ebft n\u00e0y, InterData s\u1ebd h\u01b0\u1edbng d\u1eabn chi ti\u1ebft t\u1eebng b\u01b0\u1edbc c\u00e1ch t\u1ea1o database trong cPanel m\u1ed9t c\u00e1ch nhanh ch\u00f3ng v\u00e0 an to\u00e0n nh\u1ea5t. Database trong cPanel l\u00e0 g\u00ec? Database (c\u01a1 s\u1edf d\u1eef<\/p>\n","protected":false},"author":2,"featured_media":40078,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[],"class_list":["post-16889","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-panel"],"_links":{"self":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/16889","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/comments?post=16889"}],"version-history":[{"count":6,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/16889\/revisions"}],"predecessor-version":[{"id":40479,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/16889\/revisions\/40479"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/media\/40078"}],"wp:attachment":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/media?parent=16889"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/categories?post=16889"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/tags?post=16889"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}