Advertisement
timcowchip

Untitled

Dec 7th, 2019
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. #!/bin/sh
  2. # Start/stop/restart mysqld.
  3. #
  4. # Copyright 2003 Patrick J. Volkerding, Concord, CA
  5. # Copyright 2003 Slackware Linux, Inc., Concord, CA
  6. # Copyright 2008, 2013 Patrick J. Volkerding, Sebeka, MN, USA
  7. #
  8. # This program comes with NO WARRANTY, to the extent permitted by law.
  9. # You may redistribute copies of this program under the terms of the
  10. # GNU General Public License.
  11.  
  12. # To start MariaDB automatically at boot, be sure this script is executable:
  13. # chmod 755 /etc/rc.d/rc.mysqld
  14.  
  15. # Before you can run MariaDB, you must have a database. To install an initial
  16. # database, do this as root:
  17. #
  18. # mysql_install_db --user=mysql
  19. #
  20. # Note that the mysql user must exist in /etc/passwd, and the created files
  21. # will be owned by this dedicated user. This is important, or else mysql
  22. # (which runs as user "mysql") will not be able to write to the database
  23. # later (this can be fixed with 'chown -R mysql.mysql /var/lib/mysql').
  24. #
  25. # To increase system security, consider using "mysql_secure_installation"
  26. # as well. For more information on this tool, please read:
  27. # man mysql_secure_installation
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement