Home Database Mysql Tutorial MYSQL服务详细信息说明_MySQL

MYSQL服务详细信息说明_MySQL

Jun 01, 2016 pm 01:39 PM
Install Serve details Configuration file

bitsCN.com

MYSQL配置文件位置  (安装时默认自动添加my.cnf配置文件) 

         /etc/my.cnf

MYSQL配置文件存放位置   (配置文件误删除时候可从以下位置拷贝)

        /usr/share/doc/mysql-server-5.1.61

               文件列表

                    my-huge.cnf                        

                    my-innodb-heavy-4G.cnf 

                    my-large.cnf           

                    my-medium.cnf          

                    my-small.cnf          

                执行如下操作 为MYSQL添加系统配置文件

                    #cp /usr/share/mysql/my-medium.cnf /etc/my.cnf

  MYSQL服务启动脚本位置

         执行如下操作可以启动MYSQL

        #/usr/bin/mysql

        #/etc/init.d/mysqld restart

        #service mysqld restart

   MYSQL安装主目录

        /usr/share/mysql

        

   MYSQL数据以及日志目录

        /var/lib/mysql/

            文件列表

            ibdata1                                                                        

            ib_logfile0                                                                 

            ib_logfile1                                                                    

            test            //数据库文件 test数据库(空库)                                  

            mysql           //数据库文件 mysql授权表等信息                                                 

            mysql-bin.000001   //二进制日志文件                                                         

            mysql-bin.index    //二进制日志文件                                                         

            localhost.localdomain.err // MYSQL错误信息日志

      /var/log/mysqld.log // MYSQL日常日志

  MYSQL其他信息目录

          /usr/lib/mysql

            

                libmysqlclient_r.so.16 -> libmysqlclient_r.so.16.0.0 

                libmysqlclient_r.so.16.0.0                           //很重要的文件

                libmysqlclient.so.16 -> libmysqlclient.so.16.0.0     

                libmysqlclient.so.16.0.0                             //很重要的文件

                mysqlbug                                             

                mysql_config

 

bitsCN.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Solution to the problem that Win11 system cannot install Chinese language pack Solution to the problem that Win11 system cannot install Chinese language pack Mar 09, 2024 am 09:48 AM

Solution to the problem that Win11 system cannot install Chinese language pack

Unable to install guest additions in VirtualBox Unable to install guest additions in VirtualBox Mar 10, 2024 am 09:34 AM

Unable to install guest additions in VirtualBox

What should I do if Baidu Netdisk is downloaded successfully but cannot be installed? What should I do if Baidu Netdisk is downloaded successfully but cannot be installed? Mar 13, 2024 pm 10:22 PM

What should I do if Baidu Netdisk is downloaded successfully but cannot be installed?

How to install Android apps on Linux? How to install Android apps on Linux? Mar 19, 2024 am 11:15 AM

How to install Android apps on Linux?

What is the correct way to restart a service in Linux? What is the correct way to restart a service in Linux? Mar 15, 2024 am 09:09 AM

What is the correct way to restart a service in Linux?

How to Install and Run the Ubuntu Notes App on Ubuntu 24.04 How to Install and Run the Ubuntu Notes App on Ubuntu 24.04 Mar 22, 2024 pm 04:40 PM

How to Install and Run the Ubuntu Notes App on Ubuntu 24.04

How to install Podman on Ubuntu 24.04 How to install Podman on Ubuntu 24.04 Mar 22, 2024 am 11:26 AM

How to install Podman on Ubuntu 24.04

Complete guide to install FTPS service on Linux system Complete guide to install FTPS service on Linux system Mar 19, 2024 am 11:39 AM

Complete guide to install FTPS service on Linux system

See all articles