返回列表 发帖
请教,,我安装上面写的3456步骤做的,可是我重新启动mysql的时候出现了错误:
初始化 MySQL 数据库: Installing all prepared tables
Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

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 localhost.localdomain password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

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

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
                                                           [确定]
chown: 无法访问 “/var/local/mysql”: 没有那个文件或目录
chown: 无法访问 “/var/local/mysql”: 没有那个文件或目录
chmod: 无法访问 “/var/local/mysql”: 没有那个文件或目录

这是怎么回事啊?

我的系统是fc5,,我的mysql是系统自代的,我想把他转到统一的目录中,/usr/local/下,可是出了上边的错误 ,我该怎么办?我想到了更改他们的权限,可是不知道是我改的不对还是怎么样,反正就是还出这个错误。

TOP

麻烦楼上的,先看发贴须知!

然后发个新帖提问,在这里提问不利于解决问题!
如果你觉得本站好的话,请记得推荐给你的朋友!

TOP

呵,,初来乍到,不明白,,不好意思,因为我是看上面的贴子做的,所以以为可以在这直接提问呢,对不起哦。

TOP

嘿嘿,我也来问问!

我安装的是MySQL-server-5.1.7(rpm),安装聊以后用netstat命令查看,3306这个端口没有打开,我在执行命令 /etc/init.d/mysql start,显示结果如下:
Starting MySQL...................................          [失败]
各位好大哥们,清告诉我 要怎么做才能启动那个端口呀?
摆脱了哈!!!

TOP

嘿嘿,我也来问问!

我安装的是MySQL-server-5.1.7(rpm),安装聊以后用netstat命令查看,3306这个端口没有打开,我在执行命令 /etc/init.d/mysql start,显示结果如下:
Starting MySQL...................................          [失败]
各位好大哥们,清告诉我 要怎么做才能启动那个端口呀?
摆脱了哈!!!

TOP

请教:

我按你们说的 方法安装MySQL-server-5.1.7-0.i386.rpm,如下
[root@localhost Desktop]# rpm -ivh MySQL-server-5.1.7-0.i386.rpm
Preparing...                ########################################### [100%]
   1:MySQL-server           ########################################### [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 localhost.localdomain password 'new-password'
See the manual for more instructions.

NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!

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

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
Starting MySQL...................................[FAILED]
但是用netstat查看,没有3306这个端口。
用 /etc/init.d/mysql start命令显示如下:
[root@localhost Desktop]#  /etc/init.d/mysql start
Starting MySQL...................................           [失败]
请问我这个问题在哪里呀?是不是因为和你们那个版本不一样呀?
麻烦指教一下哈!
摆脱了!!!

TOP

都不看发贴须知么?

封帖
~助人乃快乐之本~

TOP

返回列表