mysql 在linux 安装出错

huayiluo 2011-04-26 11:08:47
在linux下载,我买的vps 是32位
使用这个命令查看的:getconf LONG_BIT

然后我下载了MySQL-server-community-5.1.56-1.rhel5.i386.rpm

使用命令


wget http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-server-5.5.11-1.rhel5.i386.rpm/from/http://mysql.he.net/

下载好之后,我使用命令

rpm -ivh MySQL-server-community-5.1.56-1.rhel5.i386.rpm

安装出现如下问题:

---------------------------------------
Preparing... ########################################### [100%]
ls: /var/lib/mysql/*.err: No such file or directory
ls: /var/lib/mysql/*.err: No such file or directory
1:MySQL-server-community ########################################### [100%]

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h 219812.huayiluo.yahoo.com password 'new-password'

Alternatively you can run:
/usr/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.

See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!
---------------------------------------

试了好几次,都不成功。不知道问题出现在哪里。
...全文
166 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
huayiluo 2011-04-26
  • 打赏
  • 举报
回复
我使用的root帐号啊,换个文件夹可以吗?
rucypli 2011-04-26
  • 打赏
  • 举报
回复
安装用户没目录权限
huayiluo 2011-04-26
  • 打赏
  • 举报
回复
因为linux+mysql 支持插件,我才换的。目前就是window+mysql
gungod 2011-04-26
  • 打赏
  • 举报
回复
要不下个WINDOWS版,你用WINE安装试试?
zuoxingyu 2011-04-26
  • 打赏
  • 举报
回复
楼主,这是错误吗??

我怀疑你都没有读这个提示信息。

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
请 记得 设置 一个 密码 为 MYSQL ROOT 用户 !


下面的不翻译了。
ACMAIN_CHM 2011-04-26
  • 打赏
  • 举报
回复
检查你的权限。

56,677

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧