📝 Update and organize project documentation and assets
This commit is contained in:
45
docs/projects/memorypalace/Apple Notes/Install MySQL 8.md
Normal file
45
docs/projects/memorypalace/Apple Notes/Install MySQL 8.md
Normal file
@@ -0,0 +1,45 @@
|
||||
**Stop MySQL 5.7 first**
|
||||
- Brew services stop mysql@5.7
|
||||
brew remove mysql@5.7
|
||||
brew install mysql
|
||||
**Restart machine after this as it cached in memory for me**
|
||||
brew services start mysql
|
||||
mysql_secure_installation
|
||||
add default password for root as password
|
||||
they won't allow blank anymore, although I am sure you can manually update in the mysql db after done)
|
||||
ALTER USER 'root'@'localhost' IDENTIFIED BY 'PASSWORD';
|
||||
|
||||
|
||||
Invoker Changes
|
||||
- [ ] This seems to break invoker, so you will need to run the following:
|
||||
- [ ] gem uninstall eventmachine
|
||||
- [ ] -confirm removal.
|
||||
- [ ] gem install eventmachine -v 1.0.9.1 --platform ruby
|
||||
- [ ] Application Directories
|
||||
- [ ] You will need to remove and rebuild the mysql2 gem
|
||||
- [ ] gem uninstall mysql2
|
||||
- [ ] Use the right version you are trying to install
|
||||
- [ ] gem install invoker
|
||||
- [ ] gem install mysql2 -v 0.5.2 -- --with-opt-dir="$(brew --prefix openssl)"
|
||||
- [ ] gem install mysql2 -v 0.5.3 -- --with-opt-dir="$(brew --prefix openssl)"
|
||||
- [ ] bundle install
|
||||
|
||||
|
||||
Mongoose
|
||||
Uninstall ruby 2.6.2 (rbenv uninstall 2.6.2)
|
||||
Install Ruby 2.6.2 (rbenv install 2.6.2)
|
||||
Install bundler (gem install bundler)
|
||||
Install Invoker (gem install invoker)
|
||||
Install MySQL2 gem (gem install mysql2 -v 0.5.2 -- --with-opt-dir="$(brew --prefix openssl)")
|
||||
bundle
|
||||
|
||||
Infotech
|
||||
Uninstall ruby 2.5.7 (rbenv uninstall 2.5.7)
|
||||
Install Ruby 2.5.7 (rbenv install 2.5.7)
|
||||
Install bundler (gem install bundler)
|
||||
Install Invoker (gem install invoker)
|
||||
Install MySQL2 gem (gem install mysql2 -v 0.4.10 -- --with-opt-dir="$(brew --prefix openssl)")
|
||||
bundle
|
||||
|
||||
|
||||
SECRETS_RESTFORCE_PASSWORD = "Uc5SbEhGmB7fveFMrNmrWFtUAhFYtg3NRRPhF2g1UG7xptEU"
|
||||
Reference in New Issue
Block a user