{"id":19370,"date":"2021-05-05T13:50:38","date_gmt":"2021-05-05T13:50:38","guid":{"rendered":"https:\/\/webhostingprof.com\/saadan-loeser-du-fejlen-etablering-af-en-databaseforbindelse-i-wordpress\/"},"modified":"2022-10-30T16:52:25","modified_gmt":"2022-10-30T16:52:25","slug":"saadan-loeser-du-fejlen-etablering-af-en-databaseforbindelse-i-wordpress","status":"publish","type":"post","link":"http:\/\/webhostingprof.com\/da\/saadan-loeser-du-fejlen-etablering-af-en-databaseforbindelse-i-wordpress\/","title":{"rendered":"S\u00e5dan l\u00f8ser du fejlen Etablering af en databaseforbindelse i WordPress"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"19370\" class=\"elementor elementor-19370\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-bd4f7b3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bd4f7b3\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7fe4274\" data-id=\"7fe4274\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-1c4a5bb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1c4a5bb\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-40b6964\" data-id=\"40b6964\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-eabc143 elementor-widget elementor-widget-text-editor\" data-id=\"eabc143\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Hvis du ser f\u00f8lgende p\u00e5 dit WordPress-websted: &#8220;Fejl ved oprettelse af en databaseforbindelse&#8221;, kan det v\u00e6re sv\u00e6rt for dig at komme i gang. Dette er en fatal fejl, som g\u00f8r, at dit websted ikke er tilg\u00e6ngeligt for brugerne, hvilket ikke er ideelt.<\/p>\n<p>N\u00e5r WordPress ikke kan oprette en forbindelse til databasen, vises denne fejl. Dette kan skyldes forskellige ting, hvilket g\u00f8r det sv\u00e6rt for nogle mennesker at finde fejl.<\/p>\n<p>Vi vil vise dig, hvordan du nemt kan rette fejlen med at oprette en databaseforbindelse i WordPress, med trinvise instruktioner.<\/p>\n\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-7845026 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"7845026\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-042689d\" data-id=\"042689d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-919de3b elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents\" data-id=\"919de3b\" data-element_type=\"widget\" data-settings=\"{&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;],&quot;exclude_headings_by_selector&quot;:&quot;a,i&quot;,&quot;marker_view&quot;:&quot;numbers&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t<h4 class=\"elementor-toc__header-title\">\n\t\t\t\tIndholdsfortegnelse\t\t\t<\/h4>\n\t\t\t\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--expand\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__919de3b\" aria-expanded=\"true\" aria-label=\"Open table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-down\"><\/i><\/div>\n\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--collapse\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__919de3b\" aria-expanded=\"true\" aria-label=\"Close table of contents\"><i aria-hidden=\"true\" class=\"fas fa-chevron-up\"><\/i><\/div>\n\t\t\t\t\t<\/div>\n\t\t<div id=\"elementor-toc__919de3b\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<i class=\"elementor-toc__spinner eicon-animation-spin eicon-loading\" aria-hidden=\"true\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-220aef0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"220aef0\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-92d00bf\" data-id=\"92d00bf\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cc7629d elementor-widget elementor-widget-heading\" data-id=\"cc7629d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Hvad er \u00e5rsagen til fejl ved oprettelse af en databaseforbindelse i WordPress?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a76fca7 elementor-widget elementor-widget-image\" data-id=\"a76fca7\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"http:\/\/webhostingprof.com\/wp-content\/uploads\/2021\/05\/error-establishing-a-database-connection.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\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<div class=\"elementor-element elementor-element-6000f23 elementor-widget elementor-widget-text-editor\" data-id=\"6000f23\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Problemet med &#8220;Fejl ved oprettelse af en databaseforbindelse&#8221; skyldes normalt ukorrekte databaseoplysninger i dine WordPress-indstillinger. Det kan ogs\u00e5 skyldes en korrupt database eller en databaseserver, der ikke reagerer.<\/p>\n<p>WordPress bruger databaser til at gemme, organisere og hente data, som kan konverteres til andre formater. Dit websteds indhold og data vil f.eks. blive gemt i din WordPress-database.<\/p>\n<p>WordPress opretter forbindelse til en database, hver gang nogen bes\u00f8ger dit websted. Oplysningerne gemmes i din WordPress-konfigurationsfil (wp-config.php).<\/p>\n<p>For at oprette forbindelse til din database skal WordPress bruge:<\/p>\n<ul>\n<li>Database navn<\/li>\n<li>Brugernavn til databasen<\/li>\n<li>Databaseadgangskode<\/li>\n<li>Databaseserver<\/li>\n<\/ul>\n<div>Hvis nogen af databaserne er forkerte, vil WordPress ikke kunne oprette forbindelse til din databaseserver. Hvis dette sker, f\u00e5r du problemet &#8220;fejl ved oprettelse af en databaseforbindelse&#8221;.<\/div>\n<div> <\/div>\n<div>Hvis du er st\u00f8dt p\u00e5 denne fejl, skal du ikke bekymre dig, for det er en af de mest almindelige fejl, som brugere st\u00f8der p\u00e5 i WordPress. Lad os se p\u00e5, hvordan du kan rette denne fejl med enkle trinvise instruktioner.<\/div>\n\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-50f513e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"50f513e\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-e5efc50\" data-id=\"e5efc50\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-06a123f elementor-widget elementor-widget-heading\" data-id=\"06a123f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">1. Tjek dine WordPress-databaseoplysninger<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1f633a0 elementor-widget elementor-widget-text-editor\" data-id=\"1f633a0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Hvis din WordPress-database indeholder forkerte legitimationsoplysninger, f\u00e5r du fejlen &#8220;fejl ved oprettelse af en databaseforbindelse&#8221;, som vi har talt om. Hvorfor sker det? Hvis du for nylig er flyttet til en ny v\u00e6rt, kan dette v\u00e6re \u00e5rsagen til fejlen.<\/p>\n<p>Som jeg n\u00e6vnte tidligere, er dine WordPress-databaseoplysninger gemt i filen wp-config.php. Hvis du aldrig har kigget p\u00e5 denne fil f\u00f8r, vil jeg gennemg\u00e5, hvordan du g\u00f8r det. Hvis du er fortrolig med den, kan du g\u00e5 videre til n\u00e6ste trin.<\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1d6f380 elementor-widget elementor-widget-heading\" data-id=\"1d6f380\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">S\u00e5dan f\u00e5r du adgang til WP-Config-filen<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-059d1c0 elementor-widget elementor-widget-text-editor\" data-id=\"059d1c0\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>F\u00f8r du roder rundt i filen wp-config.php, er det vigtigt, at du opretter en sikkerhedskopi af dit WordPress-websted. Den mindste fejl kan for\u00e5rsage ravage og g\u00f8re dit websted utilg\u00e6ngeligt for brugerne.<\/p>\n<p>Du skal bruge en FTP-klient som <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\">FileZilla <\/a>for at oprette forbindelse til dit websted og f\u00e5 sikker adgang til dine filer. Opret forbindelse til dit websted ved hj\u00e6lp af FTP-klienten (du kan f\u00e5 dine FTP-loginoplysninger fra din webhost).<\/p>\n<p>Filen wp-config.php findes ofte i rodmappen p\u00e5 dit websted. H\u00f8jreklik p\u00e5 filen, og v\u00e6lg download. Dette vil downloade filen til din computer, s\u00e5 du kan redigere den med Notepad.<\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c74a650 elementor-widget elementor-widget-heading\" data-id=\"c74a650\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Tjek dine legitimationsoplysninger<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-28cc491 elementor-widget elementor-widget-image\" data-id=\"28cc491\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"http:\/\/webhostingprof.com\/wp-content\/uploads\/2021\/05\/wpconfigfile.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\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<div class=\"elementor-element elementor-element-0c89425 elementor-widget elementor-widget-text-editor\" data-id=\"0c89425\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>N\u00e5r du har f\u00e5et adgang til filen wp-config.php, skal du sikre dig, at dit databasenavn, brugernavn, adgangskode og v\u00e6rt er korrekt.<\/p>\n<p>For at sikre, at disse oplysninger er korrekte, skal du have adgang til dit <a href=\"https:\/\/webhostingprof.com\/da\/saadan-installerer-du-wordpress-med-bluehost-i-2022\/\" target=\"_blank\" rel=\"noopener\">WordPress-hostingkonto-instrumentbr\u00e6t<\/a>. Klik p\u00e5 MySQL-databaser under afsnittet om databaser.<\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b7d290f elementor-widget elementor-widget-image\" data-id=\"b7d290f\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"http:\/\/webhostingprof.com\/wp-content\/uploads\/2021\/05\/mysqldatabase.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\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<div class=\"elementor-element elementor-element-d80cf97 elementor-widget elementor-widget-text-editor\" data-id=\"d80cf97\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Her kan du se dine nuv\u00e6rende databaser for at finde dit database-navn og brugernavn. Hvis du er usikker p\u00e5 din adgangskode, kan du \u00e6ndre brugeradgangskoden, s\u00e5 den passer til filen wp-config.php.<\/p>\n<p>Hvis oplysningerne allerede passer, eller hvis dit websted stadig viser fejlen, betyder det, at der er noget andet, der er \u00e5rsag til problemet. Bare rolig, vi har mere at fort\u00e6lle!<\/p>\n\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-f12b500 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f12b500\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-67a00ed\" data-id=\"67a00ed\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2ddd59e elementor-widget elementor-widget-heading\" data-id=\"2ddd59e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">2. Kontroller dine v\u00e6rtsoplysninger for databasen<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0f81a33 elementor-widget elementor-widget-text-editor\" data-id=\"0f81a33\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>N\u00e5r du har fastsl\u00e5et, at databasens navn, brugernavn, adgangskode og v\u00e6rtsnavn er korrekte, skal du kontrollere, at du bruger de korrekte databasev\u00e6rtsoplysninger.<\/p>\n<p>De fleste WordPress-hostingudbydere bruger localhost som databasev\u00e6rt. Men hvis du bruger et administreret WordPress-hostingfirma, kan de bruge forskellige servere til at hoste databaser. Hvis dette er tilf\u00e6ldet, er localhost ikke den korrekte information at bruge.<\/p>\n<p>For at finde ud af dine databasev\u00e6rtsoplysninger skal du kontakte dit WordPress-hostingfirma og sp\u00f8rge dem om dette.<\/p>\n\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-2bb8281 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2bb8281\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-d4b813e\" data-id=\"d4b813e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e5579d6 elementor-widget elementor-widget-heading\" data-id=\"e5579d6\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">3. Reparer din WordPress-database<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-220f908 elementor-widget elementor-widget-text-editor\" data-id=\"220f908\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Hvis du f\u00e5r en lidt anden fejl, f.eks. en fejl som &#8220;en eller flere databaser er ikke tilg\u00e6ngelige&#8221;, skal du muligvis reparere din database.<\/p>\n<p>For at reparere din WordPress-database skal du g\u00e5 tilbage til din wp-config.php-fil. Find den linje, hvor der st\u00e5r &#8220;Det er alt, stop med at redigere! God blogging&#8221;, og tilf\u00f8j derefter:<\/p>\n<p><i>define(&#8216;WP_ALLOW_REPAIR&#8217;, true);<\/i><\/p>\n<p>Naviger derefter til www.yourwebsite.com\/wp-admin\/maint\/repair.php for at se indstillingerne. Her kan du reparere databasen. Da du ikke beh\u00f8ver at v\u00e6re logget ind for at f\u00e5 adgang til denne side, skal du s\u00f8rge for at fjerne kodelinjen fra din wp-config.php-fil, n\u00e5r du er f\u00e6rdig.<\/p>\n\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-133c95a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"133c95a\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-e1523ba\" data-id=\"e1523ba\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dc1e37d elementor-widget elementor-widget-heading\" data-id=\"dc1e37d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">4. Kontroller, om din databaseserver er nede<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9d22a32 elementor-widget elementor-widget-text-editor\" data-id=\"9d22a32\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Hvis du er n\u00e5et s\u00e5 langt, og du stadig ser fejlen, kan det v\u00e6re, at databaseserveren er nede. Dette kan ske af flere \u00e5rsager, herunder <a href=\"https:\/\/webhostingprof.com\/da\/vps-vs-dedicated-server-hosting-2022\/\" target=\"_blank\" rel=\"noopener\">overbelastning p\u00e5 grund af stor trafik<\/a>. Hvis du bruger en delt hostingkonto, er dette mere almindeligt.<\/p>\n<p>Det er bedst at kontakte din webhostingudbyder via telefon eller live chat for at f\u00e5 det hurtigste svar. Sp\u00f8rg dem, om din MySQL-server er responsiv.  <\/p>\n<p>Hvis du ikke kan f\u00e5 fat i dem, kan du kontrollere, om din SQL-server er nede, ved at tjekke dine andre websteder, der k\u00f8rer p\u00e5 samme server.  <\/p>\n<p>Hvis du ikke har andre websteder p\u00e5 din server, kan du g\u00e5 ind p\u00e5 din hostings dsahboard og fors\u00f8ge at f\u00e5 adgang til phpMyAdmin for at oprette forbindelse til databasen. Hvis du kan oprette forbindelse til databasen, skal du sikre dig, at din databasebruger har de rigtige tilladelser.<\/p>\n<p>Opret en ny fil med navnet testconnection.php og inds\u00e6t f\u00f8lgende kode i filen:<\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7dd8f67 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"7dd8f67\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7f20293 elementor-widget elementor-widget-text-editor\" data-id=\"7f20293\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"line number1 index0 alt2\" style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">&lt;?php<\/code><\/div>\n<div class=\"line number2 index1 alt1\" style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php variable\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: #aa7700 !important;\">$link<\/code> <code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">= mysqli_connect(<\/code><code class=\"php string\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: blue !important;\">'localhost'<\/code><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">, <\/code><code class=\"php string\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: blue !important;\">'username'<\/code><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">, <\/code><code class=\"php string\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: blue !important;\">'password'<\/code><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">);<\/code><\/div>\n<div class=\"line number3 index2 alt2\" style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php keyword\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: bold !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: #006699 !important;\">if<\/code> <code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">(!<\/code><code class=\"php variable\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: #aa7700 !important;\">$link<\/code><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">) {<\/code><\/div>\n<div class=\"line number4 index3 alt1\" style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php keyword\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-weight: bold !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: #006699 !important;\">die<\/code><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">(<\/code><code class=\"php string\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: blue !important;\">'Could not connect: '<\/code> <code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">. mysqli_error());<\/code><\/div>\n<div class=\"line number5 index4 alt2\" style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">}<\/code><\/div>\n<div class=\"line number6 index5 alt1\" style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php functions\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: #ff1493 !important;\">echo<\/code> <code class=\"php string\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: blue !important;\">'Connected successfully'<\/code><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">;<\/code><\/div>\n<div class=\"line number7 index6 alt2\" style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">mysqli_close(<\/code><code class=\"php variable\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: #aa7700 !important;\">$link<\/code><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">);<\/code><\/div>\n<div class=\"line number8 index7 alt1\" style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code class=\"php plain\" style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">?&gt;<\/code><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-24239c4 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"24239c4\" data-element_type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5050309 elementor-widget elementor-widget-text-editor\" data-id=\"5050309\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Udskift brugernavn og adgangskode, og upload derefter filen til dit websted. Hvis scriptet k\u00f8rer korrekt, betyder det, at din bruger har de korrekte tilladelser, og at der er noget andet, der for\u00e5rsager fejlen.<\/p>\n\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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-0a7ab54 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0a7ab54\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-efcc694\" data-id=\"efcc694\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c00321b elementor-widget elementor-widget-heading\" data-id=\"c00321b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Andre l\u00f8sninger, du kan pr\u00f8ve<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-cec489f elementor-widget elementor-widget-text-editor\" data-id=\"cec489f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Hvis ovenst\u00e5ende tips ikke l\u00f8ste problemet med &#8220;fejl ved oprettelse af en databaseforbindelse&#8221; i WordPress, er der nogle andre trin, du kan tage for at fors\u00f8ge at l\u00f8se problemet.<\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-093d892 elementor-widget elementor-widget-heading\" data-id=\"093d892\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">1. Opdater WordPress-webstedets URL<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-13f8a2f elementor-widget elementor-widget-text-editor\" data-id=\"13f8a2f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Ved hj\u00e6lp af phpMyAdmin kan du pr\u00f8ve at opdatere URL&#8217;en til WordPress-webstedet. F\u00e5 adgang til <a href=\"https:\/\/www.phpmyadmin.net\/\" target=\"_blank\" rel=\"noopener\">phpMyAdmin <\/a>via dit hosting-dashboard, og v\u00e6lg derefter din WordPress-database.<\/p>\n<p>Her kan du klikke p\u00e5 fanen SQL \u00f8verst for at f\u00e5 vist SQL-menuen. Indtast f\u00f8lgende MySQL-foresp\u00f8rgsel, og erstat iste-URL&#8217;en med din egen URL.<\/p>\n<p><code class=\"php plain\" style=\"white-space: pre-wrap; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">UPDATE wp_options SET option_value=<\/code><code class=\"php string\" style=\"white-space: pre-wrap; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: blue !important;\">'YOUR_SITE_URL'<\/code> <code class=\"php plain\" style=\"white-space: pre-wrap; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">WHERE option_name=<\/code><code class=\"php string\" style=\"white-space: pre-wrap; border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: blue !important;\">'siteurl'<\/code><\/p>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-932ec91 elementor-widget elementor-widget-heading\" data-id=\"932ec91\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">2. Genstart din webserver<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d1a762a elementor-widget elementor-widget-text-editor\" data-id=\"d1a762a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Hvis du bruger en dedikeret server eller <a href=\"https:\/\/webhostingprof.com\/da\/bedste-vps-hosting-2022\/\" target=\"_blank\" rel=\"noopener\">VPS-hosting<\/a>, kan du pr\u00f8ve at genstarte serveren. Dette genstarter dit websted og din databaseserver og l\u00f8ser muligvis nogle problemer.<\/p>\n<p><b>Bem\u00e6rk:  <\/b><i>S\u00f8rg for, at du ved, hvad du g\u00f8r, f\u00f8r du fors\u00f8ger dig med dette. Hvis du er usikker, kan du kontakte din webhostingudbyder for at f\u00e5 flere oplysninger.<\/i><\/p>\n\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\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":"<p>Hvis du ser f\u00f8lgende p\u00e5 dit WordPress-websted: &#8220;Fejl ved oprettelse af en databaseforbindelse&#8221;, kan det v\u00e6re sv\u00e6rt for dig at komme i gang. Dette er en fatal fejl, som g\u00f8r, at dit websted ikke er tilg\u00e6ngeligt for brugerne, hvilket ikke er ideelt. N\u00e5r WordPress ikke kan oprette en forbindelse til databasen, vises denne fejl. Dette &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/webhostingprof.com\/da\/saadan-loeser-du-fejlen-etablering-af-en-databaseforbindelse-i-wordpress\/\"> <span class=\"screen-reader-text\">S\u00e5dan l\u00f8ser du fejlen Etablering af en databaseforbindelse i WordPress<\/span> L\u00e6s mere &raquo;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":"","_glsr_average":0,"_glsr_ranking":0,"_glsr_reviews":0},"categories":[],"tags":[],"modified_by":null,"_links":{"self":[{"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/posts\/19370"}],"collection":[{"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/comments?post=19370"}],"version-history":[{"count":0,"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/posts\/19370\/revisions"}],"wp:attachment":[{"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/media?parent=19370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/categories?post=19370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostingprof.com\/da\/wp-json\/wp\/v2\/tags?post=19370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}