我已经使用以下命令从 CentOS 6 中删除了预装的 MySQL -
yum remove mysql mysql-*
现在,我想在我的系统中安装“MySQl-server-5.5.28-1.linux2.6.i386.rpm”。但它无法在我的系统上启动。请告诉我如何使用用户帐户以及 root 启动 MySQL。
我已经这样做了:-
[rex@dhcppc0 MySQL]$
[rex@dhcppc0 MySQL]$ su -
Password:
[root@dhcppc0 ~]# cd /home/rex/Documents/Software/MySQL
[root@dhcppc0 MySQL]# rpm -i MySQL-server-5.5.28-1.linux2.6.i386.rpm
package MySQL-server-5.5.28-1.linux2.6.i386 is already installed
[root@dhcppc0 MySQL]# mysql -u
-bash: mysql: command not found
[root@dhcppc0 MySQL]# mysql -u mysql
-bash: mysql: command not found
[root@dhcppc0 MySQL]# mysql.server start
-bash: mysql.server: command not found