Advertisement
kn0tsel

MySQL-11

Nov 22nd, 2012
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ESes-MacBook-Pro:bin ESe$ pwd
  2. /opt/local/lib/mysql55/bin
  3.  
  4. ESes-MacBook-Pro:bin ESe$ sudo ./mysql_install_db --user=_mysql
  5. Password:
  6. Installing MySQL system tables...
  7. OK
  8. Filling help tables...
  9. OK
  10.  
  11. To start mysqld at boot time you have to copy
  12. support-files/mysql.server to the right place for your system
  13.  
  14. PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
  15. To do so, start the server, then issue the following commands:
  16.  
  17. /opt/local/lib/mysql55/bin/mysqladmin -u root password 'new-password'
  18. /opt/local/lib/mysql55/bin/mysqladmin -u root -h ESes-MacBook-Pro.local password 'new-password'
  19.  
  20. Alternatively you can run:
  21. /opt/local/lib/mysql55/bin/mysql_secure_installation
  22.  
  23. which will also give you the option of removing the test
  24. databases and anonymous user created by default.  This is
  25. strongly recommended for production servers.
  26.  
  27. See the manual for more instructions.
  28.  
  29. You can start the MySQL daemon with:
  30. cd /opt/local ; /opt/local/lib/mysql55/bin/mysqld_safe &
  31.  
  32. You can test the MySQL daemon with mysql-test-run.pl
  33. cd /opt/local/mysql-test ; perl mysql-test-run.pl
  34.  
  35. Please report any problems with the /opt/local/lib/mysql55/bin/mysqlbug script!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement