-bash: /usr/local/bin/mysql: No such file or directory
时间: 2023-09-04 12:07:03 浏览: 300
linux输入yum后提示: -bash: /usr/bin/yum: No such file or directory的解决方法
5星 · 资源好评率100%
根据引用的内容,错误提示"-bash: /usr/bin/mysql: No such file or directory"表明系统无法找到/usr/bin/mysql这个文件或目录。可能是因为mysql没有正确安装或者安装路径不正确。你可以尝试按照引用的步骤进入/usr/local/mysql/bin目录下,使用命令"./mysql -uroot -p"来登录到mysql。如果还出现错误,可以参考引用中的内容,检查是否缺少了libnuma.so.1这个共享库文件。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Linux下任意位置登录MySQL(软链)与ln添加和删除使用](https://blog.csdn.net/J080624/article/details/64444632)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [bash: /usr/local/mysql/scripts/mysql_install_db: /usr/bin/perl: bad interpreter: No such file or ...](https://blog.csdn.net/weixin_39952190/article/details/113350725)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文