Advertisement
kn0tsel

MySQL-21

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