[英]Install MySQL in fedora
I am installing mysql and mysql-server in fedora.What I did was: 我在fedora中安装mysql和mysql-server。我所做的是:
su
(to change to root) su
(更改为root)
yum install mysql mysql-server
chkconfig --levels 235 mysqld on
and when I try to start mysqld
using /etc/init.d/mysqld start
, it gives me an error saying No such a file or directory
. 当我尝试使用
/etc/init.d/mysqld start
启动mysqld
/etc/init.d/mysqld start
,它给我一个错误,提示No such a file or directory
。
By using whereis mysql
I got the following result: 通过使用
whereis mysql
我得到了以下结果:
$whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql /usr/share/mysql /usr/share/man/man1/mysql.1.gz
Can some one help me find where I installed mysql and how I can start it? 有人可以帮我找到我在哪里安装mysql以及如何启动它吗? Thank you
谢谢
尝试通过使用service mysqld start
来启动MySQL。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.