Email-Icon Created with Sketch. Group 3 Created with Sketch. Domains-SVG-Box Created with Sketch. Domains-SVG-Box Created with Sketch. Domains-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Icon-Internet Created with Sketch. Hosting-SVG-Box Created with Sketch. Icon-Internet Created with Sketch. Icon-Internet Created with Sketch. Hosting-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Trust Pilot Stars Created with Sketch. 1-5-million Created with Sketch. black-green yellow_blue Control-panel-Icon Created with Sketch. WSB-Brush Created with Sketch. WSB-Brush Created with Sketch. WSB-Brush Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. icon-slider-next Created with Sketch. icon-slider-prev Created with Sketch. Webmail-icon Created with Sketch. heart Created with Sketch. Open-24-7 Created with Sketch. 247 Created with Sketch. open24 Created with Sketch. 24 7 trusted Created with Sketch. Fill 1 Created with Sketch.

Oppdatere brukernavn/passord for WordPress-databasen

Steg 1 - Åpne File Manager
Steg 2 - Åpne wp-config.php
Steg 3 - Identifisere brukernavn/passord
Steg 4 - Oppdatere brukernavn/passord

Noen ganger er det nødvendig å oppdatere tilkoblingsdetaljene til WordPress-databasen. For eksempel etter at du har endret MySQL-passordet eller hvis du får følgende feilmelding:


Error establishing a database connection

Steg 1 - Åpne File Manager

Logg inn på ditt One.com kontrollpanel og klikk på File Manager.


Open File Manager

Steg 2 - Åpne wp-config.php

Filen wp-config.php finnes i mappen hvor du installerte WordPress.
Klikk på wp-config-filen for å åpne den i en editor.


Open wp-config.php

Steg 3 - Identifisere brukernavn/passord

Vanligvis finner du brukernavn/passord rundt linje 20 i wp-config-filen.
I dette eksemplet er brukernavn/passord:

define('DB_NAME', 'one_example_support'); define('DB_USER', 'one_example_support'); define('DB_PASSWORD', '********'); define('DB_HOST', 'one-example.support.mysql.service.one.com');

Find details in wp-config.php

Steg 4 - Oppdatere brukernavn/passord

I det følgende eksemplet må du erstatte update_here med ditt brukernavn og passord.
Du finner tilkoblingsinformasjon på One.com kontrollpanel under PHP & MariaDB.

define('DB_NAME', 'update_here'); define('DB_USER', 'update_here'); define('DB_PASSWORD', update_here'); define('DB_HOST', 'update_here');

Klikk på Lagre øverst til venstre på skjermen.


Edit details in wp-config,php

Relaterte artikler:

Endre WordPress-tema fra databasen
Deaktivere WordPress-plugins i phpMyAdmin