macos: Start/Stop Apache & MySQL

Apache
sudo apachectl start
sudo apachectl stop
sudo apachectl restart
MySQL
brew services start mysql
brew services stop mysql
brew services restart mysql

Advertisements

Upgrade Heroku Postgres to Hobby Basic Plan

  • heroku maintenance:on –remote testing
  • heroku addons:create heroku-postgresql:hobby-basic –remote testing
  • heroku pg:wait –remote testing
  • heroku pg:copy DATABASE_URL HEROKU_POSTGRESQL_ORANGE_URL –remote testing
  • heroku pg:promote HEROKU_POSTGRESQL_ORANGE_URL –remote testing
  • heroku pg:info –remote testing
  • heroku maintenance:off –remote testing