After updating to MacOS Mojave, I installed WordPress locally with WordPressify
I installed the latest version of MySQL and added a database via MySQLWorkbench.
MySQL was up and running. Everything seemed to be working. Running the development server launched the WordPress initial configuration page. Database credentials were correct. Still, WordPress was unable to connect to the database.