This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
mysql [2022/03/12 22:45] jordan |
mysql [2023/03/08 16:09] (current) xujianglong ↷ Page moved from 内部资料:mysql to mysql |
||
---|---|---|---|
Line 164: | Line 164: | ||
需要修改mysql配置文件,注释掉bind-server=127.0.0.1启用远程连接。Ubuntu下,MySQL配置文件路径''< | 需要修改mysql配置文件,注释掉bind-server=127.0.0.1启用远程连接。Ubuntu下,MySQL配置文件路径''< | ||
+ | |||
+ | ===== 本地登录时加127.0.0.1才能登录而不能用localhost ===== | ||
+ | |||
+ | 直接通过localhost登录或者加-h localhost,提示Can' | ||
+ | |||
+ | < | ||
+ | [client] | ||
+ | host=127.0.0.1 | ||
+ | |||
+ | </ | ||
+ | |||
+ | ====== InnoDB Failing to start / MySQL not loading plugins ====== | ||
+ | |||
+ | < | ||
+ | rm -rf / | ||
+ | |||
+ | </ | ||