请在mysql配置文件修sql-mode或sql_mode为no_auto_create_user,no_engine_substitution
时间: 2023-04-26 19:00:09 浏览: 1684
可以在MySQL的配置文件中修改sql-mode或sql_mode为no_auto_create_user和no_engine_substitution。这样可以禁止MySQL自动创建用户和引擎替换。
相关问题
请在mysql配置文件修sql-mode或sql_mode为NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
根据引用\[1\]中的提示,要在mysql配置文件中修改sql_mode为NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION。如果你使用的是Windows系统,你需要修改my.ini文件;如果是Linux系统,可能是my.cnf文件。请注意,你的系统可能有多个这样的配置文件,如果修改不成功,需要逐个文件进行修改。修改完成后,重启mysql服务,并使用sql工具执行"show variables like '%sql_mode%'"命令来查看修改是否成功。
#### 引用[.reference_title]
- *1* [tpshop提示 请在mysql配置文件修sql-mode为NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION](https://blog.csdn.net/wqhjfree/article/details/70305526)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
请在mysql配置文件修sql-mode或sql_mode为NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION linux
根据引用\[1\]中提到的信息,如果你在Linux环境下安装tpshop时遇到提示"请在mysql配置文件修sql-mode为NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION",你需要修改my.cnf文件。请注意,Linux环境可能有多个这样的配置文件,如果你修改不成功,需要逐个修改。修改完成后,重启MySQL服务,并使用SQL工具执行"show variables like '%sql_mode%'"命令来查看修改是否成功。
#### 引用[.reference_title]
- *1* [tpshop提示 请在mysql配置文件修sql-mode为NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION](https://blog.csdn.net/wqhjfree/article/details/70305526)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)