我已经安装了MySQL 5.1.73手动按 RPM 开启甲骨文Linux 5。当我搜索配置文件时 -我的cnf我运行下面的命令并获取多个配置文件的列表。
$ 定位 *.cnf
/etc/pki/tls/openssl.cnf
/u000/local/openssl/openssl.cnf
/u000/local/openssl/opensslnew.cnf
/usr/openv/pdde/pdopensource/ssl/openssl.cnf
/usr/share/doc/MySQL-server-community-5.1.73/my-huge.cnf
/usr/share/doc/MySQL-server-community-5.1.73/my-innodb-heavy-4G.cnf
/usr/share/doc/MySQL-server-community-5.1.73/my-large.cnf
/usr/share/doc/MySQL-server-community-5.1.73/my-medium.cnf
/usr/share/doc/MySQL-server-community-5.1.73/my-small.cnf
/usr/share/mysql/my-huge.cnf
/usr/share/mysql/my-innodb-heavy-4G.cnf
/usr/share/mysql/my-large.cnf
/usr/share/mysql/my-medium.cnf
/usr/share/mysql/my-small.cnf
/usr/share/mysql-test/include/default_my.cnf
/usr/share/mysql-test/include/default_mysqld.cnf
/usr/share/mysql-test/include/default_ndbd.cnf
/usr/share/mysql-test/std_data/bug15328.cnf
/usr/share/mysql-test/std_data/ndb_config_mycnf1.cnf
/usr/share/mysql-test/std_data/ndb_config_mycnf2.cnf
/usr/share/mysql-test/suite/federated/my.cnf
/usr/share/mysql-test/suite/ndb/my.cnf
/usr/share/mysql-test/suite/rpl/my.cnf
/usr/share/mysql-test/suite/rpl/rpl_1slave_base.cnf
/usr/share/mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.cnf
/usr/share/mysql-test/suite/rpl/t/rpl_current_user.cnf
/usr/share/mysql-test/suite/rpl/t/rpl_rotate_logs.cnf
/usr/share/mysql-test/suite/rpl/t/rpl_test_framework.cnf
/usr/share/mysql-test/suite/rpl_ndb/my.cnf
/usr/share/mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.cnf
我不确定哪一个是我必须修改的正确配置文件?我的应用程序有 260 个表。
- 那么,我是否也需要修改呢
my-large.cnf or my-medium.cnf or my-small.cnf
? - 我是否需要将选定的配置文件移动到 /etc/ 目录中?
请指教...