Advertisement
kn0tsel

MySQL-07

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