解决ln -s 软链接产生Too many levels of symbolic links错误
来源:互联网 发布:淘宝德国代购有假货吗 编辑:程序博客网 时间:2024/05/01 11:13
今天在安装mysql软件的时候,mysql/bin目录下用ln -s mysql /usr/local/bin/mysql 创建软连接,后来启用mysql时弹出错误:
-bash: /usr/local/bin/mysql: Too many levels of symbolic links
从网上查找了一下原因,原来是建立软连接的时候采用的是相对路径,所以才会产生这样的错误,解决方式是采用绝对路径建立软链接:
ln -s /usr/../mysql/bin/mysql /usr/local/bin/mysql
这样问题就解决了。
再次启用mysql就ok了!
0 0
- 解决ln -s 软链接产生Too many levels of symbolic links错误
- 解决ln -s 软链接产生Too many levels of symbolic links错误
- Linux命令——解决ln -s 软链接产生Too many levels of symbolic links错误
- 软链接ln -s以及如何解决其产生“Too many levels of symbolic links ”的错误?
- ln: Too many levels of symbolic links
- ln错误:Too many levels of symbolic links
- ln错误:Too many levels of symbolic links .
- linux问题记录:too many levels of symbolic links
- rsync 同步报错failed: Too many levels of symbolic links (40)
- centos 创建软连接后,打开软连接文件,报错:Too many levels of symbolic link
- Error: ELOOP: too many symbolic links encountered
- Linux软链接 ln -s
- Linux ln -s 软链接
- Too many open files 错误解决
- Too many open files 错误解决
- Too many open files 错误解决
- lucene(too many open files错误解决)
- 解决Mysql错误[1040]Too many connections
- Unity3d 创建并使用dll
- iOS App性能优化
- logminer配置与使用
- 一些DOM元素的properties也被列在下面,但是仅运行在新的.prop()方法中
- sqlite的使用文档
- 解决ln -s 软链接产生Too many levels of symbolic links错误
- 正则基础
- bootloader
- 重联通分量
- ActiveReports 9 新功能:可视化查询设计器(VQD)介绍
- 【LeetCode】Binary Tree Postorder Traversal
- C++私有成员变量被对象直接访问
- UIView autoresizingMask
- 在MAC应用里显示多个图片(IKImageBrowserView控件使用)(二)