可视化 Diff 工具
对比配置文件 左右对比 Diff
贴上你的 config,看看和原始版本有哪些变化。
MariaDB - /etc/mysql/mariadb.cnf
Debian 11 (Bullseye)
默认配置
Debian 11 (Bullseye)
# The MariaDB configuration file
#
# The MariaDB/MySQL tools read configuration files in the following order:
# 0. "/etc/mysql/my.cnf" symlinks to this file, reason why all the rest is read.
# 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.
#
# If you are new to MariaDB, check out https://mariadb.com/kb/en/basic-mariadb-articles/
#
# This group is read both by the client and the server
# use it for options that affect everything
#
[client-server]
# Port or socket location where to connect
# port = 3306
socket = /run/mysqld/mysqld.sock
# Import all .cnf files from configuration directory
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mariadb.conf.d/
你的配置
已删除
已新增
拖文件到这里,或点击选择
如何使用这个工具
- 1 把你的配置文件粘贴或拖拽到上面的区域
- 2 Diff 会立刻显示,标出你和默认配置的差异
- 3 绿色是你新增的,红色是从默认配置里删掉的
- 4 用切换按钮在左右对比和统一 Diff 视图之间切换