为什么我会有两个my.cnf文件,/etc/my.cnf和/etc/mysql/my.cnf
我想问下我两个my.cnf以哪个为准的,root@jingmian:/usr/local/mysql/bin# dpkg -l|grep mysql
iilibdbd-mysql-perl 4.025-1ubuntu0.1 amd64 Perl5 database interface to the MySQL database
iilibmysqlclient18:amd64 5.5.60-0ubuntu0.14.04.1 amd64 MySQL database client library
iilibmysqlcppconn7 1.1.3-5 amd64 MySQL Connector for C++ (library)
iimysql-client 5.5.60-0ubuntu0.14.04.1 all MySQL database client (metapackage depending on the latest version)
iimysql-client-5.5 5.5.60-0ubuntu0.14.04.1 amd64 MySQL database client binaries
iimysql-client-core-5.5 5.5.60-0ubuntu0.14.04.1 amd64 MySQL database core client binaries
iimysql-common 5.5.60-0ubuntu0.14.04.1 all MySQL database common files, e.g. /etc/mysql/my.cnf
iimysql-utilities 1.3.5-2 all collection of scripts for managing MySQL servers
iimysql-workbench 6.0.8+dfsg-2 amd64 MySQL Workbench - a visual database modeling, administration and queuing tool
rcmysql-workbench-community 6.2.5-1ubu1410 amd64 MySQL Workbench
iimysql-workbench-data 6.0.8+dfsg-2 all MySQL Workbench -- architecture independent data
iipython-mysql.connector 1.1.6-1 all pure Python implementation of MySQL Client/Server protocol
这个mysql-common 是哪里给装上去的?,还有前面的ii是什么意思 dpkg -l列出的包含mysql的包都会影响lnmp中mysql的启动,lnmp的mysql都是 /etc/my.cnf
dpkg -l 列出的包都是你通过apt-get安装上的,不一定是直接安装,通过依赖关系安装上的可能行比较大,apt-get安装时都会提示你依赖关系及会安装哪些包
ii可能是已经安装的
页:
[1]