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.

WordPress database connectie gegevens bijwerken

Stap 1 - Open File Manager
Stap 2 - Open wp-config.php
Stap 3 - Vind de logingegevens
Stap 4 - Update uw gegevens

Soms is het nodig om de database connectie gegevens te updaten in WordPress. Bijvoorbeeld nadat u uw MySQL wachtwoord heeft gewijzigd of als u de volgende foutmelding krijgt:


Error establishing a database connection

Stap 1 - Open File Manager

Log in op uw One.com configuratiescherm en klik op File Manager.


Open File Manager

Stap 2 - Open wp-config.php

Het wp-config.php bestand vindt u in de map waar u Wordpress heeft geïnstalleerd.
Klik op het wp-config bestand om deze te openen in de editor


Open wp-config.php

Stap 3 - Vind de logingegevens

U kunt uw logingegevens meestal terugvinden rond regel 20 in uw wp-config bestand.
In dit voorbeeld zijn dit de huidige details:

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

Stap 4 - Update uw gegevens

In het volgende voorbeeld moet update_here vervangen worden door uw eigen geupdate gegevens.
U kunt de huidige logingegevens voor uw database vinden in het configuratiescherm bij PHP & MariaDB.

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

Klik Opslaan in de linkerbovenhoek op uw scherm.


Edit details in wp-config,php

Gerelateerde artikelen:

Verander uw WordPress thema vanuit de database
Schakel WordPress plugins uit in phpMyAdmin