当前位置: 技术问答>linux和unix
我在solaris上安装mysql总是报这样的错:
来源: 互联网 发布时间:2016-02-27
本文导语: 我在solaris上安装mysql总是报这样的错: ## 执行预安装正文 /opt/mysql/mysql/bin/mysqld: Can't read dir of '/var/tmp//installq0a4xc/' (Errcode: 13) /opt/mysql/mysql/bin/mysqld: Can't read dir of '/var/tmp//installq0a4xc/' (Errcode: 13) PLEASE REMEMBER...
我在solaris上安装mysql总是报这样的错:
## 执行预安装正文
/opt/mysql/mysql/bin/mysqld: Can't read dir of '/var/tmp//installq0a4xc/' (Errcode: 13)
/opt/mysql/mysql/bin/mysqld: Can't read dir of '/var/tmp//installq0a4xc/' (Errcode: 13)
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/opt/mysql/mysql/bin/mysqladmin -u root password 'new-password'
/opt/mysql/mysql/bin/mysqladmin -u root -h Jephirus password 'new-password'
See the manual for more instructions.
我已经搞了好几天了都没解决,望高手们帮我看看是何原因,谢谢!!!
## 执行预安装正文
/opt/mysql/mysql/bin/mysqld: Can't read dir of '/var/tmp//installq0a4xc/' (Errcode: 13)
/opt/mysql/mysql/bin/mysqld: Can't read dir of '/var/tmp//installq0a4xc/' (Errcode: 13)
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/opt/mysql/mysql/bin/mysqladmin -u root password 'new-password'
/opt/mysql/mysql/bin/mysqladmin -u root -h Jephirus password 'new-password'
See the manual for more instructions.
我已经搞了好几天了都没解决,望高手们帮我看看是何原因,谢谢!!!
|
第一:检查下载文件正确性
第二:查看权限,最好设置一个mysql用户组和mysql用户名
估计第二方面的可能性比较大。
第二:查看权限,最好设置一个mysql用户组和mysql用户名
估计第二方面的可能性比较大。
|
13 EACCES Permission denied.
不是root用户?
不是root用户?