Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Start/stop/restart mysqld.
- #
- # Copyright 2003 Patrick J. Volkerding, Concord, CA
- # Copyright 2003 Slackware Linux, Inc., Concord, CA
- # Copyright 2008, 2013 Patrick J. Volkerding, Sebeka, MN, USA
- #
- # This program comes with NO WARRANTY, to the extent permitted by law.
- # You may redistribute copies of this program under the terms of the
- # GNU General Public License.
- # To start MariaDB automatically at boot, be sure this script is executable:
- # chmod 755 /etc/rc.d/rc.mysqld
- # Before you can run MariaDB, you must have a database. To install an initial
- # database, do this as root:
- #
- # mysql_install_db --user=mysql
- #
- # Note that the mysql user must exist in /etc/passwd, and the created files
- # will be owned by this dedicated user. This is important, or else mysql
- # (which runs as user "mysql") will not be able to write to the database
- # later (this can be fixed with 'chown -R mysql.mysql /var/lib/mysql').
- #
- # To increase system security, consider using "mysql_secure_installation"
- # as well. For more information on this tool, please read:
- # man mysql_secure_installation
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement