MySQL-related files

Source: Internet
Author: User

1, after installing MySQL on Linux, there are a lot of MySQL related files.

2,/etc/rc.d/init.d/mysql is the MySQL service startup script, is the Mysqld_safe package, Mysqld_safe is a script, is the executable file mysqld encapsulation

3,/usr/bin/mysql is the MySQL client command line tool, in the same directory there are other executable files, Mysqldump,mysqladmin,mysqlimport.

Note: Mysqld_safe is also in this directory, but Mysqld is not in this directory, mysqld under/usr/sbin/,/usr/sbin/directory under a lot of services, s think is the meaning of the service.

4,/usr/lib/mysql is a directory, which contains MySQL related library files.

5,/usr/include/mysql is a directory, inside put in a lot of header files, which have a directory MySQL, inside is mysqlclient about the header file

6,/usr/share/mysql Below a few MySQL script files, such as Mysql_system_tables_data.sql

7,/var/lib/mysql is the MySQL database storage directory, each database has a corresponding file, where the MySQL file is the MySQL database. The other files are as follows:

A, AUTO.CNF is the UUID of MySQL server

B, Ib_logfile0 is the log file, there is a ib_logfile1, the same size

C, Localhost.localdomain.err is the error log

D, Localhost.localdomain.pid is the process ID of the MySQL service

MySQL-related files

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.