• Ubuntu 16.04.6 LTS / LAMP

    A while back I updated PHP. WordPress has been unable to connect to mysql (for my primary blog database) ever since.

    Ive tried a bunch of things here, really trying to get my old blog back online this week.

    Currently if I whip up a new WordPress site – with a new database – it all gets through the setup fine, wp-admin loads up and I can setup and then write blogs and upload/post images. So I know my LAMP setup and mysql are working fine. But as soon as I do anything to try to hook in to this previous database it just wont load in anything to do with the database at all. No dashboard access or wp-admin. If I go to the blog, the front page at least loads as far as text and theme go, but all the images/links are broken.

    Ive also tried running WordPress with all plugins disabled, but wp-admin still isnt there. So it really feels like a database connection issue, or issue with the database itself. (I ran a basic health check on the database in question and everything came back with ‘OK’)

    Ive also tried dumping the database and restoring it into another new database (previously connected and working), but the same problems occur. I figured there was a low chance of this working, but who knows.

    Really unsure what to debug next, just completely stuck on this issue.

    Does anyone have any suggestions on what to look here?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Php Update – Database no longer connects?’ is closed to new replies.