zoukankan      html  css  js  c++  java
  • ubuntu下安装mysql出现FATAL ERROR: Could not find mysqld的处理

    ubuntu下安装mysql出现FATAL ERROR: Could not find mysqld的处理

    
    错误信息:
    
    #./bin/mysql_install_db –user=mysql
    
    
    FATAL ERROR: Could not find mysqld
    The following directories were searched:
    /usr/libexec
    /usr/sbin
    /usr/bin
    If you compiled from source, you need to run ‘make install’to copy the software into the correct location ready for operation.
    If you are using a binary release, you must either be at the top of the level of the extracted archivem or pass the –basedir option pointing to that location.
    
    
    解决的方法:
    
    scripts/mysql_install_db –user=mysql –basedir=/usr/local/mysql
    (这里mysql是所使用的username,basedir是mysql的安装文件夹)
  • 相关阅读:
    CSS属性值一览
    CSS属性一览
    CSS选择器一览
    HTML颜色编码
    游戏
    数据库系统概念
    关于总结
    章节测试
    我的博客皮肤
    Emeditor所有快捷键操作
  • 原文地址:https://www.cnblogs.com/wgwyanfs/p/6723468.html
Copyright © 2011-2022 走看看