MySQL Beginner's Guide to use

Source: Internet
Author: User


Can be realistic MySQL configuration options

The MySQL configuration file my.cnf call order (mysqld--verbose--help output has the following print):

Default options is read from the following files in the given order:

Installation (full installation Help reference install-binary file):

To install and use a MySQL binary distribution, the basic command sequence looks like this:
shell> Groupadd MySQL
Shell> useradd-r-G MySQL MySQL
Shell> cd/usr/local
Shell> Tar zxvf/path/to/mysql-version-os.tar.gz
shell> ln-s Full-path-to-mysql-version-os MySQL
shell> CD MySQL
Shell> chown-r MySQL.
Shell> chgrp-r MySQL.
Shell> scripts/mysql_install_db--user=mysql
Shell> chown-r Root.
shell> chown-r MySQL Data
Shell> Bin/mysqld_safe--user=mysql &
# Next command is optional
shell> CP Support-files/mysql.server/etc/init.d/mysql.server

MySQL Beginner's Guide to use

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.