{"id":3577,"date":"2022-07-29T20:09:11","date_gmt":"2022-07-29T20:09:11","guid":{"rendered":"https:\/\/libertyhost.ch\/?p=3577"},"modified":"2023-09-23T17:04:26","modified_gmt":"2023-09-23T17:04:26","slug":"how-do-i-connect-my-database","status":"publish","type":"post","link":"https:\/\/libertyhost.ch\/help-center\/how-do-i-connect-my-database\/","title":{"rendered":"How do I connect my database?"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t

Learn how to connect your database.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t
  1. First, you need to create a Database User and Database<\/a>. <\/li>
  2. From the Control Panel<\/strong><\/em><\/a>, you can locate your database name and username<\/li>
  3. Go to Sites<\/strong><\/em><\/li>
  4. Select Databases<\/strong><\/em> from the left menu
    <\/strong><\/em><\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\"Database\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    1. Open a text editor of your choice, we suggestion Sublime Text<\/strong>. Download your free copy of Sublime Text today!<\/a><\/li>
    2. Open the WP-Config.php file or any other settings file. The example below if a WP_config.php file.<\/em><\/li>
    3. Enter your Database Name, Username, Password and Host.<\/li>
    4. Your DB Host: 10.22.0.21<\/li>
    5. Save your file and upload<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
      \n\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\t
      \n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\"\"\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t
      WP_Config.php File<\/figcaption>\n\t\t\t\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"

      Learn how to create a database connection at the LibertyHost Help Center.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[5],"tags":[4],"class_list":["post-3577","post","type-post","status-publish","format-standard","hentry","category-hosting","tag-hosting"],"_links":{"self":[{"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/posts\/3577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/comments?post=3577"}],"version-history":[{"count":0,"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/posts\/3577\/revisions"}],"wp:attachment":[{"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/media?parent=3577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/categories?post=3577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/libertyhost.ch\/help-center\/wp-json\/wp\/v2\/tags?post=3577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}