Mysql Error and Error 500

I have been trying to get YOURLS to work on a new VPS for about an hour now. Debug mode says it has connected to the MYSQL database in under 10ms, but my Apache error logs keep showing: https://pastebin.com/Nx1VqPTY
Can anyone tell me what to do to fix this? I have tried running both the latest 1.7.10 from the current Github and the release 1.7.9. I have the exact same config as my old site as well.

Does this help: https://github.com/YOURLS/YOURLS/issues/2115#issuecomment-497761934

Yeah, sorry forgot to post again here. My VPS was running Debian 9 for some reason, and I switched it to Ubuntu 18.04, which offers a newer MySQL, after realizing that was probably the issue.
Not sure why that issue didn’t come up when I searched. I probably just worded it poorly