Magento on MAMP custom module install fails "Unknown database 'magento'"
I have created a custom module, but when I go to run php bin/magento setup:upgrade it fails and returns SQLSTATE[HY000] [1049] Unknown database 'magento'. I have tried other stackover flow solutions to no avail. And I have uninstalled and reinstalled…