Jump to content

Localizar O My.cnf Com Cpanel


abobre

Recommended Posts

Olá, bom dia !

 

Estou tentando localizar o arquivo de configuração do mysql, eu imaginei que ficava em /etc/my.cnf e até encontrei esse arquivo, porem com poucas linhas.

root@srv [/]# cat /etc/my.cnf
[mysqld]
innodb_file_per_table=1
open_files_limit=9544

Sendo assim eu tentei localizar algum outro arquivo e vejam o que eu encontrei.

root@srv [/]# find -name my.cnf -print
./usr/share/mysql-test/suite/rpl/my.cnf
./usr/share/mysql-test/suite/federated/my.cnf
./etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf

 Eu acessando algum arquivo my.cnf da pasta virtfs, eu tenho o mesmo conteudo

root@srv [/]# cat /home/virtfs/***/etc/my.cnf
[mysqld]
innodb_file_per_table=1
open_files_limit=4442
root@srv [/]#

Cade o my.cnf com as configurações do mysql ??

 

Link to comment
Share on other sites

Olá, bom dia !

 

Estou tentando localizar o arquivo de configuração do mysql, eu imaginei que ficava em /etc/my.cnf e até encontrei esse arquivo, porem com poucas linhas.

root@srv [/]# cat /etc/my.cnf
[mysqld]
innodb_file_per_table=1
open_files_limit=9544

Sendo assim eu tentei localizar algum outro arquivo e vejam o que eu encontrei.

root@srv [/]# find -name my.cnf -print
./usr/share/mysql-test/suite/rpl/my.cnf
./usr/share/mysql-test/suite/federated/my.cnf
./etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf
./home/virtfs/***/etc/my.cnf

 Eu acessando algum arquivo my.cnf da pasta virtfs, eu tenho o mesmo conteudo

root@srv [/]# cat /home/virtfs/***/etc/my.cnf
[mysqld]
innodb_file_per_table=1
open_files_limit=4442
root@srv [/]#

Cade o my.cnf com as configurações do mysql ??

 

Está correto o arquivo, ele fica mesmo em /etc/my.cnf

 

Se você nunca personalizou/otimizou o seu MySQL é natural que o arquivo esteja com poucas linhas mesmo.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?