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. Trust Pilot Stars Created with Sketch. 1-5-million Created with Sketch. 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. open24 Created with Sketch. 24 7 trusted Created with Sketch. Fill 1 Created with Sketch.

Opdater WordPress database forbindelses detaljer

Trin 1 - Åben File Manager
Trin 2 - Åben wp-config.php
Trin 3 - Find login detaljerne
Trin 4 - Opdater detaljer

Nogle gange har du brug for at opdatere database forbindelses detaljerne i WordPress. Eksempelvis efter du har ændret MySQL kodeord eller hvis du får den følgende fejlbesked.


Error establishing a database connection

Trin 1 - Åben File Manager

Log ind på dit One.com kontrolpanel og klik File Manager.


Open File Manager

Trin 2 - Åben wp-config.php

Filen wp-config.php er placeret i den mappe du installerede WordPress i.
Klik på wp-config filen for at åbne den i redigeringsværktøjet.


Open wp-config.php

Trin 3 - Find login detaljerne

Normalt kan du finde login detaljerne omkring linje 20 i wp-config filen.
I dette eksempel er de nuværende detaljer:

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

Trin 4 - Opdater detaljer

I dette eksempel skal du erstatte update_here med dine egen opdaterede detaljer.
Du kan finde de nuværende forbindelsesdetaljer i One.com kontrolpanleet under PHP & MariaDB.

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

Klik på Gem i det øverste venstre hjørne af din skærm.


Edit details in wp-config,php

Relaterede artikler:

Rediger WordPress-temaet fra databasen
Deaktiver WordPress-plugins i phpMyAdmin