현재 Raspbian에 OTRS를 설치하고 있습니다. 나는 Ubuntu와 MySQL을 사용하고 있지만, Raspbian과 MariaDB에 문제가 있습니다. 어디서나 크기를 변경하려면 innodb_log_file_size
을 찾을 수 없습니다.MariaDB - innodb_log_file_size을 찾을 수 없습니다.
내 my.cnf 파일은 다음과 같습니다
MariaDB [(none)]> show variables like 'innodb_log_file_size';
+----------------------+----------+
| Variable_name | Value |
+----------------------+----------+
| innodb_log_file_size | 50331648 |
+----------------------+----------+
1 row in set (0.01 sec)
모든 팁을 변경하려면 :
The MariaDB configuration file
The MariaDB/MySQL tools read configuration files in the following order:
1. "/etc/mysql/mariadb.cnf" (this file) to set global defaults,
2. "/etc/mysql/conf.d/*.cnf" to set global options.
3. "/etc/mysql/mariadb.conf.d/*.cnf" to set MariaDB-only options.
4. "~/.my.cnf" to set user-specific options.
If the same option is defined multiple times, the last one will apply.
One can use all long options that the program supports.
Run program with --help to get a list of available options and with
--print-defaults to see which it would actually understand and use.
This group is read both both by the client and the server
use it for options that affect everything
[client-server]
Import all .cnf files from configuration directory
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mariadb.conf.d/
및 mariadb에서 show variables like 'innodb_log_file_size';
를 사용하여 나에게이 있습니다? 오류를 제거해야하기 때문에 :
"Error: Please set the value for innodb_log_file_size on your database to at least 256 MB"