Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Arshads-MacBook-Air:~ Arshi$ mysql.server start
  2. /usr/local/bin/mysql.server: line 256: my_print_defaults: command not found
  3. /usr/local/bin/mysql.server: line 276: cd: @@HOMEBREW_CELLAR@@/mysql/5.6.21: No such file or directory
  4. Starting MySQL
  5. ERROR! Couldn't find MySQL server (@@HOMEBREW_CELLAR@@/mysql/5.6.21/bin/mysqld_safe)
  6.  
  7. **Mysql has been installed.**
  8.  
  9. Arshads-MacBook-Air:~ Arshi$ brew install mysql
  10. Warning: mysql-5.6.21 already installed
  11.  
  12. sudo brew uninstall mysql
  13. sudo brew install mysql
  14.  
  15. which mysql
  16.  
  17. $ sudo nano ~/.bash_profile
  18.  
  19. alias mysql=/usr/local/opt/mysql@5.7/bin/mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement