Guest User

Untitled

a guest
Oct 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. ```bash
  2. michaelmartinez in ~
  3. ≥ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp 0:10
  4. Installing MySQL system tables...
  5. OK
  6. Filling help tables...
  7. OK
  8.  
  9. To start mysqld at boot time you have to copy
  10. support-files/mysql.server to the right place for your system
  11.  
  12. PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
  13. To do so, start the server, then issue the following commands:
  14.  
  15. /usr/local/Cellar/mysql/5.5.25/bin/mysqladmin -u root password 'new-password'
  16. /usr/local/Cellar/mysql/5.5.25/bin/mysqladmin -u root -h Michael-Martinezs-MacBook-Pro.local password 'new-password'
  17.  
  18. Alternatively you can run:
  19. /usr/local/Cellar/mysql/5.5.25/bin/mysql_secure_installation
  20.  
  21. which will also give you the option of removing the test
  22. databases and anonymous user created by default. This is
  23. strongly recommended for production servers.
  24.  
  25. See the manual for more instructions.
  26.  
  27. You can start the MySQL daemon with:
  28. cd /usr/local/Cellar/mysql/5.5.25 ; /usr/local/Cellar/mysql/5.5.25/bin/mysqld_safe &
  29.  
  30. You can test the MySQL daemon with mysql-test-run.pl
  31. cd /usr/local/Cellar/mysql/5.5.25/mysql-test ; perl mysql-test-run.pl
  32.  
  33. Please report any problems with the /usr/local/Cellar/mysql/5.5.25/scripts/mysqlbug script!
  34. ```
Add Comment
Please, Sign In to add comment