gpt4 book ai didi

mysql - 如何在共享数据库环境中为 mysql my.ini 文件提供自定义配置

转载 作者:行者123 更新时间:2023-11-29 14:21:34 26 4
gpt4 key购买 nike

嗨,我正在使用的 mysql 数据库服务器托管着其他几个数据库。我想给出这样的配置:

[mysqld]
ft_min_word_len=2
ft_stopword_file=""

仅适用于特定数据库。我不会影响对其他数据库的这些更改。有办法做到吗?

最佳答案

不,你不能,因为它是一个GLOBAL变量看起来here

因此您甚至无法在该数据库的每个 session 中都进行设置。

Alternatively you can install separate instance of MySQL on the same server.

关于mysql - 如何在共享数据库环境中为 mysql my.ini 文件提供自定义配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11662489/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com