• Okay, I’m completely out of ideas. I tried porting my wordpress site from XAMPP to a live site. I did everything multiple times, I tried it manually and using Duplicator, but I always end up with this bug.

    Now I have tried messing with the logins credentials for the database. I’ve even tried recreating the database several times.

    The weird thing is, if I deliberately put in wrong credentials I get a different error message than if I put the correct ones (they both say Error establishing a database connection, but if the credentials are wrong I get the “pretty” one with the link to the wp bug report and stuff, and with the right credentials I get the ugly Times New Roman one).

    I’m starting to have the feeling that this is some issue with the database itself or something. I’m all out of ideas.

    Please help me.
    Thanks so much

Viewing 1 replies (of 1 total)
  • Suggest that on your hosted site, you drop all database tables, then proceed with a normal WordPress install.

    i.e.: run the WordPress install script
    https://example.com/wp-admin/install.php

    Do you get a fresh and empty wordpress site ?
    If NO, then sort out your hosting issues.
    If YES, then do the “Moving WordPress” instructions with your database from the local server.

Viewing 1 replies (of 1 total)
  • The topic ‘Error establishing a database connection – Correct credentials’ is closed to new replies.