非常倾销问题。我是Linux新手。我使用命令mysql
从http://www.if-not-true-then-false.com/2010/install-mysql-on-fedora-centos-red-hat-rhel/安装了yum --enablerepo=remi install mysql mysql-server
。它显示成功安装。但是当我尝试启动mysql服务cd /etc/init.d/mysqld start
时,它会显示bash: cd: /etc/init.d/mysqld: No such file or directory
。请帮我。提前致谢
编辑:
我试过运行mysqladmin -u root -p status
产生以下内容:
Uptime: 107 Threads: 1 Questions: 2 Slow queries: 0 Opens: 33 Flush tables: 1 Open tables: 26 Queries per second avg: 0.018
但localhost/phpmyadmin
显示404
错误
答案 0 :(得分:1)
在没有/etc/init.d/mysqld start
cd
答案 1 :(得分:1)
您有两种选择:
/etc/init.d/mysqld start
或
service mysqld start