by Zack Schiller.
Default port was open for MySQL
config.php does have localhost for the DB server.
I changed the dbhost to 127.0.0.1 and it worked! Thank you!
I'm pretty sure that I was having other problems with php, but after resolving those earlier, I just needed to change that one setting to 127.0.0.1 from localhost. How strange.
Thank you so much for replying to me and helping! I really do appreciate it.