MySQL support-files folder under binary package

Source: Internet
Author: User

Probably a lot of people used to use RPM package in the deployment of MySQL after the binary package does not understand how to use (concrete MySQL binary deployment can see HTTP://JIM123.BLOG.51CTO.COM/4763600/1835010), in fact, do not worry, After you unpack the binary package, there is a Support-files folder, in which a large number of MySQL scripts and configuration files, you can check the following folder in the script will know how to use MySQL

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M01/86/80/wKioL1fBMVPSqkKSAAAmr5GXXpY727.png-wh_500x0-wm_3 -wmp_4-s_1358059266.png "title=" Support-files.png "alt=" Wkiol1fbmvpsqkksaaamr5gxxpy727.png-wh_50 "/>

Where my-*.cnf files are templates for the MySQL profile, you can choose a profile that is appropriate for your use, copy to the/etc/folder, and of course you can modify the parameters in one of the templates and copy them to the/etc/folder. *.ini is the Windows host under the MySQL profile, mysql-log-rotate is a log cutting script for the log archive, usually used for analysis of the log. Mysql.server and Mysqld_multi.server are both MySQL startup scripts, where Mysqld_multi.server is a multi-instance startup script for MySQL, and we can add the script to the file path by modifying the variable after adding/etc/rc.d/ Under the Init.d folder

[[email protected] support-files]# CP./mysql.server/etc/rc.d/init.d/mysqld[[email protected] support-files]# Chkconfig--add mysqld#chkconfig command to set it as system self-start service [[email protected] support-files]# chkconfig mysqld on# start mysqld Services


This article is from the "Technical essay" blog, please be sure to keep this source http://jim123.blog.51cto.com/4763600/1843243

MySQL support-files folder under binary package

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: info-contact@alibabacloud.com 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.