Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Så här fixar du error vid upprättande av en anslutning till en database i WordPress

Ser du notisen ”Error establishing a database connection” i WordPress?

Detta är ett fatal error som gör din site otillgänglig för användare. Det inträffar när WordPress inte kan upprätta en anslutning till databasen. Eftersom flera faktorer kan påverka denna anslutning kan error vara lite svårt att troubleshoota för Beginner.

I den här artikeln kommer vi att visa dig hur du enkelt fixar ”Error establishing a database connection” på din WordPress site, steg för steg.

Fix the Error Establishing a Database Connection in WordPress

Vad orsakar error vid upprättande av en anslutning till en database i WordPress?

En database är en programvara som gör det enkelt att lagra, organisera och hämta data från andra program.

Som ett system för hantering av innehåll använder WordPress en database för att lagra all your content och andra data på din website. Den ansluter sedan till databasen varje gång någon besöker din website.

WordPress behöver följande information för att ansluta till databasen:

  • Namnet på din database
  • Database användarnamn och password
  • Server för databaser

Den här informationen lagras i din WordPress-konfigurationsfil, som heter wp-config.php.

Om någon av dessa uppgifter är felaktiga kommer WordPress att misslyckas med att ansluta till din server för databasen och du kommer att se felet ”Error establishing a database connection”.

Database connection error in WordPress

Det är ett av de vanligaste WordPress error. Förutom felaktiga credentials kan detta error också dyka upp om databasens server är nere eller databasfilerna är korrupta.

Med detta sagt, låt oss ta en titt på hur man fixar ”Error establishing database connection” issue i WordPress med steg-för-steg troubleshoot.

1. Kontrollera din WordPress Database Credentials

Den vanligaste orsaken till error i anslutningen till databasen är felaktiga credentials. Om du senaste har flyttat din WordPress site till en new server, så är det troligen detta som är problemet.

Credentials för din WordPress-databas lagras i filen wp-config.php. Det är konfigurationsfilen för WordPress som innehåller viktiga settings, inklusive information om databasen.

Om du ej har redigerat filen wp-config.php tidigare kan du ta en titt på vår guide för nybörjare om hur du redigerar filen wp-config.php för mer instruktioner.

Du kommer att leta efter följande rader i filen wp-config.php:

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );
/** MySQL database username */
define( 'DB_USER', 'username_here' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );
/** MySQL hostname */
define( 'DB_HOST', 'localhost' );

Här måste du se till att informationen om databasnamn, användarnamn, password och server är korrekt.

Du kan bekräfta denna information från instrumentpanelen för ditt WordPress dashboard. För denna tutorial kommer vi att använda Bluehost, men processen kommer att vara liknande för andra webbhotell paneler också.

När du har loggat in klickar du på fliken ”Website” i den vänstra kolumnen och växlar sedan till fliken ”Advanced”. Rulla sedan ner till sektionen ”Database” och klicka på knappen ”Manage” bredvid den.

Click the Manage button next to the Database section

Detta kommer att öppna sidan MySQL Databases i cPanel i ett new fönster.

Här kan du hitta ditt databasnamn och användarnamn i sektionen ”Current Database”. Tänk på att copy and paste dessa details till ett anteckningsblock så att du kan add to dem till wp-config-filen.

Find your database name and username in the Current Databases section

Därefter rullar du ner till sektionen ”Current Users”, där du kan clicka på länken ”Change Password” bredvid namnet på din database.

Du kommer då till en new vy där du kan ändra lösenordet för databasen så som du gillar det.

Change your database password

När du har bekräftat all din database details kan du ändra den informationen i din wp-config.php-fil om det behövs.

Efter det kan du försöka besöka din website igen för att se om error i anslutningen till databasen har försvunnit.

Om du fortfarande kan se error betyder det att något annat är fel.

2. Kontrollera informationen om servern för din Database

Om du är säker på att uppgifterna om databasens namn, användarnamn och password är korrekta, är det bra att kontrollera att du använder korrekt information om databasens server.

De flesta webbhotell för WordPress använder localhost som server för din database. Vissa hanterade WordPress-värdföretag använder dock separata servrar för att servera databaser. I så fall kommer din databas serverinformation inte att vara localhost.

Detta innebär att du måste kontakta ditt webbhotell för WordPress för att bekräfta dessa detaljer.

3. Reparera WordPress Database

Nu kanske du får ett annat error i wp-admin adminpanelen som gillar ”One or more database tables are unavailable” eller ”The database may need to be repaired”. I så fall måste du reparera din database.

Du kan göra detta genom att lägga till följande rad i din wp-config.php-fil. Se till att add to den precis före ”That’s all, stop editing! Trevlig blogg”:

define('WP_ALLOW_REPAIR', true);

När du har gjort det kan du se inställningarna genom att besöka den här page: http://www.yoursite.com/wp-admin/maint/repair.php. Se bara till att ersätta yoursite.com med ditt eget domain name.

Här måste du klicka på knappen ”Repair Database” för att starta processen.

Repair WordPress database

Note: Användaren behöver ej vara inloggad för att komma åt reparationssidan för databasen. När du är klar med att reparera och optimera din database, se till att ta bort den här kodraden från din wp-config.php.

Men om du inte vill add to någon kod till din site, kan du också reparera din database från ditt webbhotell kontos cPanel.

Gå vidare och besök ditt webbhotell konto, där du måste öppna sidan ”Websites” från den vänstra kolumnen. Gå sedan till tabben ”Advanced” och klicka på knappen ”Manage” i sectionen ”Database”.

Click the Manage button next to the Database section

Detta kommer att öppna cPanel i en new tab. Här rullar du ner till ”Modify Databases” section och väljer namnet på din database från ”Repair Database” dropdown menu.

När du har gjort det klickar du bara på knappen ”Reparera databas” för att starta processen.

Click the Repair database button

Webbhotellets panel kommer nu automatiskt att reparera din database åt you.

När processen är completed kommer du också att se ett success message.

Database repair success message

You can now visit your WordPress site to see whether the error has been resolved or ej.

4. Kontrollera om din server i databasen är nere

Om allt verkar vara korrekt och WordPress fortfarande inte kan anslutas till databasen, kan din databasserver (MySQL server) vara nere.

Detta kan hända på grund av tung trafik på en server. Din server kan helt enkelt inte hantera hämtar (särskilt när du har delade webbhotell).

På grund av detta kommer din webbplats att bli långsam och kan till och med mata ut error för vissa användare. I det här fallet bör du ta ett telefonsamtal eller chattsupport med din hosting provider och fråga dem om din MySQL server är responsiv.

Om du dessutom har andra webbplatser som körs på samma server kan du kontrollera dessa webbplatser för att bekräfta att din SQL-server är nere.

Om du ej har någon annan site på samma webbhotell account, så går du bara till din dashboard och byter till tabben ”Advanced”.

Därefter klickar du på knappen ”Hantera” bredvid phpMyAdmin section.

Click the Manage button next to the PHPMyAdmin option

Detta öppnar phpMyAdmin i ett nytt fönster, där du måste klicka på alternativet ”Database” högst upp.

Därefter klickar du på namnet på din database för att komma åt dess Settings. Om du kan göra det, är det dags för dig att kontrollera om din databas användare har tillräckliga behörigheter.

Connect PHPMyAdmin with your database

För att göra detta måste du skapa en new fil som heter testconnection.php och klistra in följande kod i den:

<?php
$link = mysqli_connect('localhost', 'username', 'password');
if (!$link) {
die('Could not connect: ' . mysqli_error());
}
echo 'Connected successfully';
mysqli_close($link);
?>

När du klistrar in koden, se till att ersätta användarnamn och password med dina egna. Du kan nu uploada filen till din website och komma åt den via en web browser.

Om skriptet ansluts utan problem betyder det att din användare har tillräcklig behörighet och att det är något annat som orsakar error.

Nu måste du gå tillbaka till din wp-config-fil och skanna den för att se till att alla detaljer är korrekta och utan några stavfel.

Ytterligare lösningar som har fungerat för användare

Om de ovan nämnda felsökningstipsen inte lyckas fixa felet i anslutningen till databasen på din webbplats kan du prova dessa ytterligare steg.

Som våra användare har rapporterat har dessa steg hjälpt några av dem att lösa error i anslutning till databasen på sina webbplatser.

1. Update URL:en för WordPress site

Du kan försöka updating URL:en för WordPress site med hjälp av phpMyAdmin i cPanel.

Gå bara in på phpMyAdmin från din dashboard på webbhotellet och välj din WordPress database från listan.

Följ detta genom att gå till SQL-menyn högst upp och enter följande MySQL sökning:

UPDATE wp_options SET option_value='YOUR_SITE_URL' WHERE option_name='siteurl'

Det ska se ut så här:

Change site URL

Glöm inte att ange din egen site URL och ändra wp_options till ditt eget tabellnamn, eftersom du kan ha ändrat WordPress tabellprefix.

2. Starta om web server

Användare på dedikerade servrar, språkversioner och virtuella privata servrar (VPS) kan försöka starta om sina servrar.

Detta kommer att starta om din web server och database server, vilket kan fixa några tillfälliga problem som orsakar error.

3. Be om hjälp

Om allt annat Misslyckas, då kan du behöva kontakta ditt webbhotell. Alla bra webbhotell för WordPress kommer att hjälpa dig att troubleshoota problemet, peka dig i rätt riktning eller till och med fixa det åt dig.

Du kan också hyra WordPress utvecklare med en plattform som WPBeginner Pro Services för att hjälpa dig fixa detta issue till rimliga priser. Vi har ett dedikerat team av expertutvecklare som du kan lita på för att lösa alla dina WordPress issues.

WPBeginner Pro Services

Dessutom kan du använda tjänsten för underhåll av din webbplats, reparation av hackad webbplats, hastighetsoptimering, ombyggnad av webbplats och sökmotorsoptimering.

Vi hoppas att den här artikeln hjälpte dig att fixa ”Error establishing a database connection” issue i WordPress. Du kanske också vill se vår guide till felsökning av WordPress för tips om hur du löser WordPress issues på egen hand, eller våra expertval av de bästa tools för WordPress frilansare och utvecklare.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

665 kommentarerLämna ett svar

  1. Syed Balkhi

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Barry

    Under CentOS 7, I saw: Could not connect: Can’t connect to MySQL server on ’xyz’ (13)

    The problem was due to SE Linux, as documented at

    The problem was corrected using the command:

    sudo setsebool -P httpd_can_network_connect_db=1

  3. neneh

    Thanks, very helpful

  4. Alberto

    After installing and setting up Mamp and a fresh WordPress on a friends machine, had the dreaded blank page and ”error establishing a connection” in the logs as well.

    After pulling my hair for a while, I noticed that the quotation marks in the wp-config.php file had been changed from straight ones ’ to curvy ones ’ in the few settings one has to edit, and this was causing the errors, the culprit?

    -> TextEdit <- I had used it to make those changes. In it's preferences, the "clever quote marks" setting should be turned off if you want to have those quotation marks remain as they should be.

    • ka

      Thanks Alberto. Textedit has automatically overwritten the straight quotation marks with curly ones. replacing them with straight ones and saving the php file again did the trick. :)

  5. Bastien

    This error can also be triggered because of a DOS XMLRPC attack :

    • Jesus

      How can I fix it?

  6. Tejas Waghmode

    HI

    I’m confuse, how to solve the problem?

  7. Zoe

    Hello, I’m new to wordpress and need some more help.
    My wp-admin page shows the ”One or more database tables are unavailable. The database may need to be repaired” message…. so I know I need to add that bit of code. But how and where do I add it? I can’t login… I do not know what address to type in to access this php file. Help please :)
    My website is

  8. Pavanswin

    I am a wp beginner, you guys are awesome, helped me building my careers through this kind of articles. I migrated my website to and struggled with the error for many days and finally found a solution in the article and is very helpful. thank you all

  9. Julio Sanchez

    The original name of the file wp-config is wp-config-sample, I just wrote the original name and vuala no ”Error establishing a database connection” message.

    • WPBeginner Support

      wp-config-sample.php file is a sample file not the actual configuration file. The actual configuration file is wp-config.php.

      Administratör

  10. Sruly

    I have WordPress with Digital Ocean. I just restarted my server and that fixed the issue.

  11. Rudy

    Thanks, really thanks

  12. Nicholas

    If all fails, also try a swap file:

  13. Brendan

    ”replacing localhost with the IP”

    This worked! Thank you so much for saving my ass

  14. Guy Pribyl

    Is there a way to have wordpress when posting this error message do a redirect to a non-wordpress page? I JUST WANT A BACK UP FOR WHEN THIS HAPPENS IN THE MIDDLE OF THE NIGHT.

    Thanks for your help

  15. Avioconsys

    Thanks Syed Balkhi and his team. It took me 5 minutes to solve the issue with this error. It was a bad update of the password for the general user.

    Fast and working. Very nice of you sharing this information.

    M.

  16. Suhel

    i am getting the different error but its something some like this,
    wpsa_options: Table ’aamtechn_wp949.wpsa_options’ doesn’t exist
    wpsa_postmeta: Table ’aamtechn_wp949.wpsa_postmeta’ doesn’t exist

    i am getting this message and i am not able to access the dashboard.please help me soon.

  17. Camaal Mustafa Sikander

    Thank you so much, this one fixed the Database error for me in the first step itself.

    Best wishes,
    Camaal

  18. Dudley Rees

    Thank you for your help. The username and password part of wp-config.php fixed it for me.

  19. Robert Varga

    I had this problem, and I spent 2 much hours on fixing it … Finally I solve that mistery. My problem was in htacces file, it only had Rewrite Engine line , I just c/p this ”default” htaccess content in it and replace it with file on server, and tadaam it work now :D

    ”default” htaccess content :

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPres

  20. Daniel M

    how do i solve depreciation errors for db connection using either PDO or MYSQLi? please help

  21. prince vashisht

    I changed the username (wp_users) from phpmyadmin and now I am getting the same issue.Reverting the changes is also not helping me out.Please help.

  22. Wayne

    When I first experienced this error I was so devastated and I wonder how will I resolve this issue. I did some research and noticed that my database name was the problem. So I went into MYSQL and change the database name. This article explains it all

  23. Kevin Wells

    For whatever reason, I ended up having to recreate my MySQL user in the database. After I did that, my website functioned normally again.

    • Maja

      Change of user also helped me after hours of debbuging

  24. Christine F

    Thanks so much for this!

    I encountered the same issue earlier. I changed the database password and then this error appeared. We have GoDaddy so what I did was just go to the File Manager, open the WP-Config.php and changed the (’DB_PASSWORD’, ’database-password’); to the one I recently used. Real simple but wouldn’t have done it without this article.

    Thanks again!

    • Matthew

      Thank you for this reply, Christine. I, too, changed the password and found that to fix the issue as well. Perhaps MySQL had reset it without notifying me.

    • Dutch

      Thanks for this tip! Don’t know how you figured this out from the article. Was about to reload everything..and tried this just in case and it worked. Also on Godaddy, used Installatron to start the installation and uploaded the rest manually.

  25. Alexander

    In my case I solved the problem just updating the password of the DB.
    It seems the password was to weak.

    ciao
    Alexander

  26. sonu arora

    hey i m facing a weird issue with my website, i.e. when i try to check in pingdom then the screenshot generated there shows me data connection error, while when i am opening my website in normal tab or iphone, it gets open. could you please suggest me what to do? i am worried whether my website is showing to public or not. url is thanks in advance!

    • WPBeginner Support

      Try changing server locations in Pingdom test settings. Also try other tools like Google Page Speed tool.

      Administratör

  27. Angel

    You say to put this in your wp-config.php file….. define(’WP_ALLOW_REPAIR’, true);
    you don’t say a single word as to where to put it. I dropped it in right at the top and got a HUGE WP error message. You had it on line 1 without anything to indicate context of where to put it. So most would assume it would go on line 1 at the top. If it doesn’t go there, why not give helpful and specific instructions?

    • WPBeginner Support

      You need to add this just before this line:

      /* That's all, stop editing! Happy blogging. */

      Thanks for bringing this to our attention. We have updated the article.

      Administratör

  28. Nica

    when i try this:

    I get an error:
    Could not connect: Lost connection to MySQL server at ’reading initial communication packet’, system error: 95 ”Operation not supported”

    When i test this to php:

    It shows:
    This site can’t be reached

    The connection was reset.
    ERR_CONNECTION_RESET

  29. samchief

    Problem resolved. DB_host was the problem on ipage, it’s quite different from others

  30. RINKU MEHAR

    how could i solve this errors:

    Warning: require_once(C:\xampp\xampp\htdocs\wordpress\wp-admin\admin.php): failed to open stream: No such file or directory in C:\xampp\xampp\htdocs\wordpress\wp-admin\index.php on line 10

    Fatal error: require_once(): Failed opening required ’C:\xampp\xampp\htdocs\wordpress\wp-admin\admin.php’ (include_path=’.;C:\xampp\xampp\php\PEAR’) in C:\xampp\xampp\htdocs\wordpress\wp-admin\index.php on line 10

  31. FranciscoMary Aghogho

    Please I need an assistance here. I tried changing my site’s url from http to https and now cannot view my site. It say a coonection could not be established. Please what could I do in this instance. Thanks.

    • sourcebreak

      Issue
      If you update from php 5.2 to 5.4 or 5.5 then you will get this error database connection error in wp.

      Cause
      If your password is Pre mysql 4.0 then you will get this error

      Fix
      Login to phpmyadmin >> user >> change password
      type your mysql password >> select >> MySQL 4.1+ compatible and go

  32. Kanif

    I was also facing this issue. I googled it and come to this post. It is really awesome, deep thinking on what all problems may come with this error.
    Mine problem is resolved by doing database repair and optimization.

    Thanks buddy,
    Kanif

  33. ScienceMan

    Thanks for the great post. My situation was interesting, I migrated my server to another account with the same provider. The result was the dreaded ”Error Establishing a Database Connection”. Thanks to this article, I knew to have a look at the wp-config.php file.

    When I logged into my new server cPanel and checked the MySQL databases, I immediately spotted the problem. Due to the server migration, the name of the database and user had changed. The databases names at my provider all default to ”accountname_databasename”. Also, the database username defaults to ”accountname_username”. I suspect other servers are similar.

    Since my server account name changed with the server migration, so did the name of all my databases and database usernames.

    So to fix it, all I did was change these two lines in the wp-config,php file:

    /** The name of the database for WordPress */
    define(’DB_NAME’, ’XXXXXX_databasename’);

    /** MySQL database username */
    define(’DB_USER’, ’XXXXXX_username’);

    Basically, you want to check carefully to make sure the ”XXXXXX” in the wp-config.php file matches what’s at your server.

    Thanks again!

  34. igwe simon

    I mistakenly changed my site and wordpress url to one of my domain so i had to go and change the dns and park it on the website, so i waited for some hours but the domain was still propagating then i read a tutorial (codex.wordpress.org/Changing_The_Site_URL) and followed an option there by editing my functions.php and the next thing i saw was ”One or more database tables are unavailable. The database may need to be repaired.”, so i followed the instructions here and still the problem is still active. I need an assistance please.

  35. hafsa munir

    I have following error in my xammp server,how can i resolve it
    he following error was encountered while trying to retrieve the URL: localhost/phpmyadmin/

    Unable to determine IP address from host name .localhost

    The DNS server returned:

    Name Error: The domain name does not exist.
    This means that the system was not able to resolve the hostname presented in the URL. Check if the address is correct.

  36. val girich

    I am seeking free videos on how to use W.P. once it is set up ready to edit, ad docs and so on.

  37. S

    hai
    i done everything as you mentioned in the post but when i opened wp-admin/ then again this error was coming ”One or more database tables are unavailable. The database may need to be repaired.”
    So plz help me what to do

  38. Manny

    Thanks!

    I just logged in through FileZilla and checked out the wp-config.php file and double checked everything and realized that I updated my database password but it still showed the previous default password on wp-config.php. So after changing it in the file and saving the changes I was able to access my site again. Your help allowed me to solve my problem, thank you!

  39. Jeremy Smith

    One very important that’s been left out in this post is the ”turn it off and turn it back on again” approach.

    If you haven’t actually changed the wp-config file I don’t think you should be going in and fiddling around with it, at least not in the first instance.

    What you should do first is attempt to restart the mysql server.

    To do this (In Terminal)
    1. SSH into your website (you will need your key ’.pem’ file)*
    2. To restart your mysql type ”sudo service mysqld restart”

    This has worked every-time for me.

    *On a Mac
    1. Get your ’.pem’ file. I got mine from Amazon Web services (hosting the site)
    2. Enable SSH on your Mac – Google it
    3. Open Terminal
    4. Change directory to where you have stored your ’.pem’ file. -It’s probably easiest to save this on your desktop, then you can just type ’cd Desktop’ and it should take you there.
    5. Type ’chmod 400 yourpemfilename.pem (allows you to use this key to get in)
    6. Type ’ssh -i ”yourpemfile.pem” remote_username@remote_host – type the speech marks here
    7. Once logged in (You may have to type y a few times to get you in) type
    sudo service mysqld restart

    • Jcirni

      Restarting works but why does this error keep happening? Happens once a week.

  40. Malkesh

    Hi, my wordpress site gets this error very often,
    we are using AWS, so i need to run this command to restart mysql :

    sudo restart mysqld restart

    the same issue i have also on digital ocean too..

    so i am sure not this is not an server issue, it’s should be some thing in wordpress, that’s put down mysql server..

    Thanks

    • dino

      Same problem here. At least two times per day my site , which is in digital ocean , loose sql connection.
      I have try to optimize my database, bvut nothing works. Any idea?

  41. Glenn

    Thanks,

    When WordPress dies it is scary for a WordPress newbie. I found your solution easy to understand, implement and worked a treat.

  42. Faiza

    Hi,

    This blog was very helpful but I still haven’t been able to figure out this problem. My WP-Config.php file shows me this localhost:

    I am using GoDaddy, I have tried replacing this with local host, my IP address, and (godaddy). Nothing has worked :( Can I get some help here?

  43. Claire

    would the problem be that my domains dns settings haven’t updated yet?

  44. Anupam

    Updating the WP-Config file works for me. Thanks a lot.

  45. Brandon

    WOW!!!! Came across this site because my wife’s business site went down and I was able to fix it in minutes! Thank you!

  46. Cidina

    Thank you soooo much. This post saved my 6-month large project in WordPress. Trying to switch directories I lost connection to the database. I’m not a .php programmer but the topic is so well explained here that it took me five minutes to fix it after finding this blog. Your are awesome!!!

  47. Nino F

    If you changed your password in phpmyadmin, you have to change it in your wp-config.php aswell, if you don’t do that the website doesn’t work. You have to link the two with eachother.

  48. Eddie O'Hagan

    I was getting this error I think because of the theme I had, I changed the theme and I haven’t gotten the error since, I noticed this because when I ran the repair, the comments tables were the ones that had the errors.

    • dino

      how often did you have this problem?
      I have the same , and i loose connection at least twice per day.
      I tried many things but nothin works. If it is the theme i will try it..

  49. samuel nmeje

    this was indeed helpful. thanks a lot.

  50. Ram

    if you use xampp for wordpress offline then the error is removed by following process:
    open in Xampp folder ”\xampp\phpMyAdmin\config.inc.php” and then check username and password
    set the same password to wp-config then the error is not appear

  51. Micah

    This is very helpful. Thank you very much!

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.