Guest User

Untitled

a guest
Jul 20th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. cfp:~ > sudo -u _mysql mysql_install_db5
  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/mysql5/bin/mysqladmin -u root password 'new-password'
  14. /opt/local/lib/mysql5/bin/mysqladmin -u root -h cfp.local password 'new-password'
  15.  
  16. Alternatively you can run:
  17. /opt/local/lib/mysql5/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/mysql5/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/mysql5/bin/mysqlbug script!
Add Comment
Please, Sign In to add comment