WPCrafter Community

Find answers, ask questions, and connect with our
WordPress community around the world.

Home Community General Questions WordPress Database Errors After Migration

  • WordPress Database Errors After Migration

     Adam updated 20 seconds ago 2 Members · 2 Posts
  • John

    May 21, 2020 at 12:21 pm


    I believed I may have caused problems with my WordPress installation. I installed WordPress into a /dev folder so I could keep my existing website functional.

    I spent time learning WordPress and thanks to your videos I purchased Elementor Pro and found it to be a game changer. Well I finally made the decision to “go live” with my newly created Elementor site and used the Duplicator plug in to migrate the site.

    Once completed I tried to open the site and experienced problems. A friend told me to copy the files from /dev folder to the root directory which I hesitantly did, but that worked, and the site displayed live.

    I noticed I had issues when I attempted to apply an SSL to the site, the site did not function, and I had to revert to the original settings.

    I notice when I log on to the hosting server (Go Daddy) the site URL’s are displayed (dev.xxxxxxx.com/, dev.xxxxxxx.com/wp-admin/ and wordpress.org/support/) I notice that the URL’s have a “/dev” prefix in front of it, but I am working from the root folder, when I click the the URL’s with /dev display, I received an error “Error establishing a database connection”. When I click the other URL path /dev.xxxxxx/wp-admin I received a similar error “Error establishing a database connection”.

    I also noticed in the cPanel the WordPress icon has a “upgrade” red banner across the icon. I upgraded both my WordPress and PHP to the latest versions. The icon still displays the “upgrade” banner.

    In closing the site appears to work properly but I know there are problems and not sure where to turn.

    Any help would be very much appreciated.

    Thank you


  • Adam

    May 27, 2020 at 12:05 pm

    First off, sorry to hear about the issues you are having.

    Oh how I wish you would have watched my migration tutorial because you could have avoided all of this. But thats neither here nor there now.

    Ok, so you have a mess on your hands, but you can get yourself out of it.

    You have to modify the website URL in the database. Right now it is pointing to the old dev URL.

    I would recommend reaching out to your hosting support to ask them to do it, would be easier that way.

Log in to reply.

Original Post
0 of 0 posts June 2018

Stay Up To Date

Enter your name and email for the latest news, updates, and tutorials.