[SOLVED] Installing Asterisk broke my website

I installed Asterisk using this guide: https://www.rosehosting.com/blog/how-to-install-asterisk-on-centos-7/
I installed it on a server I use to run a myBB website. After the installation, I get this error:

2002 - Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

Anyone know what exactly installing Asterisk did to break this, and how would I fix it?

Nevermind this. Figured it out.