zoukankan      html  css  js  c++  java
  • openEuler安装mariadb后进程查看有[ERROR] mysqld: Server GSSAPI错误

    openEuler安装mariadb后

    执行systemctl status mariadb查看有

    Sep 26 09:57:44 bogon mysqld[18088]: 2021-09-26 9:57:44 0 [Warning] mysqld: GSSAPI plugin : default principal 'mariadb/bogon@' not>
    Sep 26 09:57:44 bogon mysqld[18088]: 2021-09-26 9:57:44 0 [ERROR] mysqld: Server GSSAPI error (major 851968, minor 2529639093) : g>
    Sep 26 09:57:44 bogon mysqld[18088]: 2021-09-26 9:57:44 0 [ERROR] Plugin 'gssapi' init function returned error.

    原因是gssapi模块没有加载成功

    解决方法:

    方法1、gssapi是通用安全服务应用程序接口,如果你用不到这个接口,可以禁用这个模块

    vim /etc/my.cnf.d/auth_gssapi.cnf

    #plugin-load-add=auth_gssapi.so

    方法2、补全模块路径

    vim /etc/my.cnf.d/auth_gssapi.cnf

    plugin-load-add=/usr/lib64/mariadb/plugin/auth_gssapi.so

    蔚州2021.9.26

  • 相关阅读:
    2020.10.10收获(动手动脑三)
    2020.10.8收获
    2020.10.4收获
    2020.10.11收获
    2020.10.6收获
    2020.10.7收获(动手动脑二)
    2020.10.9收获
    2020.10.3收获
    2020.10.2收获
    2020.10.5收获
  • 原文地址:https://www.cnblogs.com/surplus/p/15337249.html
Copyright © 2011-2022 走看看