Results 1 to 2 of 2
hi friends,
Im using centos.
i have install rpm for mysql
MySQL-client-5.1.41-0.glibc23.i386.rpm
MySQL-server-5.1.41-0.glibc23.i386.rpm
MySQL-server-5.1.41-0.glibc23.i386.rpm
MySQL-server-5.1.41-0.glibc23.i386.rpm
but when i have enter
service mysqld start
it shows
mysqld: unrecognized service
and when ...
- 01-20-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 8
installing mysql on linux
hi friends,
Im using centos.
i have install rpm for mysql
MySQL-client-5.1.41-0.glibc23.i386.rpm
MySQL-server-5.1.41-0.glibc23.i386.rpm
MySQL-server-5.1.41-0.glibc23.i386.rpm
MySQL-server-5.1.41-0.glibc23.i386.rpm
but when i have enter
service mysqld start
it shows
mysqld: unrecognized service
and when I type
mysql
it shows
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
whats the problem
can anyone knows ????????? plz
- 01-20-2010 #2
mysql is the command to connect to a database and run commands / queries. I think (using my memory, and while I have a photographic memory, I ran out of film.) that the command to manualy start it is mysqld.
the easiest way I can think of the check the service name for mysql is to look in /etc/init.d for somethign that looks right. You may have to run
chkconfig --add $mysqlname
before the service scripts work.
One question, Why didn't you use yum?
I understand why someone would install from source instead of using yum, but you used an RPM, which is the same as yum, just not made specificaly for CentOS.New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4


Reply With Quote