List:General Discussion« Previous MessageNext Message »
From:Prabhat Kumar Date:April 5 2012 4:11pm
Subject:Re: Error in starting MySQL service on LINUX
View as plain text  
may be following will solve:
a. create file '/var/lib/mysql/mysql.sock'  if not exist, i mean verify
path.
b. check permission of mysql dir, logfile and other files.  /var/lib/mysql
c. check the error log it will show you more details about error..




2012/4/5 Peter Boros <petya@stripped>

> Hi,
>
> What are the parameters you are trying to change? What does the error
> log say?
>
> Peter
>
> On Thu, 2012-04-05 at 14:40 +0000, Manivannan S. wrote:
> >
> >       I am not facing the MySQL server problem during installation. I
> have installed those two rpm packages in my machine successfully and
> started working in mysql.
> >
> >       I am trying to the change parameter value in my.cnf file to tune
> up the server for performance improvements. For that I stopped MySQL server
> and try to restart the MySQL service from that moment onwards I am getting
> this kind of errors like
> >
> >       Starting MySQL.Manager of pid-file quit without updating file
> [FAILED]
> >       MySQL manager or server PID file could not be found!       [FAILED]
> >       ERROR 2002 (HY000): Can't connect to local MySQL server through
> socket '/var/lib/mysql/mysql.sock' (111)
> >
> >       I can't go with any other installable packages by keeping the same
> package I have to solve this issue. Please give some ideas to resolve this
> problem.
> >
> > -----Original Message-----
> > From: lists-mysql [mailto:replies-lists-b3z1-mysql@stripped
> ]
> > Sent: Thursday, April 05, 2012 5:28 PM
> > To: Manivannan S.
> > Subject: RE: Error in starting MySQL service on LINUX
> >
> >
> >
> > ------------ Original Message ------------
> > > Date: Thursday, April 05, 2012 11:04:48 AM +0000
> > > From: "Manivannan S." <manivannan_s@stripped>
> > > To: mysql@stripped
> > > Subject: RE: Error in starting MySQL service on LINUX
> > >
> > > I am not using random binaries. I am using rpm packages only which are
> > > already tested and preconfigured. By installing rpm package also I am
> > > facing the same issue.
> > >
> >
> > I'm not certain where you got the packages you installed:
> >
> >    MySQL-client-5.1.52-1.glibc23.x86_64.rpm
> >    MySQL-server-5.1.52-1.glibc23.x86_64.rpm
> >
> > but they are not from the rhel/centos repos. If you install packages
> from the appropriate repos it will take care of setting up the startup
> scripts, etc. for your environment. If you install packages/rpm files from
> some other location you'll need to do the configuration and setup yourself,
> as is your current situation.
> >
> > I would suggest removing the above and doing a "yum install". The
> current packages in the rhel-6/centos-6 context are:
> >
> >   mysql-5.1.61-1.el6_2.1.x86_64
> >   mysql-server-5.1.61-1.el6_2.1.x86_64
> >
> > If, for some reason, you want to stick with what you've installed then
> you'll need to work on doing the setup/configuration manually.
> >
> >
> >    - Richard
> >
> >
> >
> > DISCLAIMER: This email message and all attachments are confidential and
> may contain information that is privileged, confidential or exempt from
> disclosure under applicable law.  If you are not the intended recipient,
> you are notified that any dissemination, distribution or copying of this
> email is strictly prohibited. If you have received this email in error,
> please notify us immediately by return email or to
> mailadmin@stripped and destroy the original message.  Opinions,
> conclusions and other information in this message that do not relate to the
> official business of SPAN, shall be understood to be neither given nor
> endorsed by SPAN.
> >
> >
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/mysql
>
>


-- 
Best Regards,

Prabhat Kumar
MySQL DBA

My Blog: http://adminlinux.blogspot.com
My LinkedIn: http://www.linkedin.com/in/profileprabhat

Thread
Error in starting MySQL service on LINUX Manivannan S .5 Apr
  • Re: Error in starting MySQL service on LINUXReindl Harald5 Apr
    • RE: Error in starting MySQL service on LINUXManivannan S .5 Apr
      • Re: Error in starting MySQL service on LINUXReindl Harald5 Apr
        • RE: Error in starting MySQL service on LINUXManivannan S .5 Apr
RE: Error in starting MySQL service on LINUXManivannan S .5 Apr
  • RE: Error in starting MySQL service on LINUXPeter Boros5 Apr
Re: Error in starting MySQL service on LINUXPrabhat Kumar5 Apr