Database Connection Error After Migrating To A New Host... Are My Posts GONE?

databasemysqlwordpress32 replies · 531 views · started
  1. lol same thing happened to me after a migration, teh database user may exist but lack privileges on teh database.. 😅 in the host panel, assign teh user to the database with all privileges, or run GRANT ALL PRIVILEGES ON dbname.* TO 'user'@'localhost'; followed by FLUSH PRIVILEGES; if you manage MySQL yourself.

    10 0 helpful
  2. same issue here on my old thinkpad. following this therad hope that helps :)

    1 2 helpful
  3. nah tbh I'd put caching in front so most visitors never hit teh database at all. that fixes random overload far more effectively than tweaking MySQL settings. just my 2 cents

    6 1 helpful
  4. @uadler nah thats not it, mysql has nothing to do with it but hey ymmv

    1 2 helpful
  5. pro tip: write down what u chnage. i didnt and had to redo database from scratch, i swear small is cursed

    3 1 helpful
  6. respectfully disagree, i tried that and it made mysql worse. try turning off teh firmware first, fixed it for me but hey ymmv

    2 2 helpful
  7. @hjansen_45 WOWWW mariaDB was getting killed for memory. added swap, reduced the buffer pool, added page caching.. xD stable for two weeks now. owe u a beer 🍺

    1 4 helpful

Reply to this topic

Sign in or create an account to reply.