title: redhat mysql failure
body: <pre><code>Linux xxxxxx 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
  
   '#'rpm -qa | grep mysql
  
      mysql-server-5.1.52-1.el6_0.1.x86_64
      mysql-connector-odbc-5.1.5r1144-7.el6.x86_64
      mysql-5.1.52-1.el6_0.1.x86_64
      mysql-libs-5.1.52-1.el6_0.1.x86_64
      qt-mysql-4.6.2-17.el6.x86_64
  </code></pre>
  
  <p>I try <code>chmod</code> and <code>chown</code> to <code>'/var/lib/mysql/mysql.sock'</code>
  and I have a symbloic link with <code>/tmp/mysql.sock</code>.</p>
  
  <p>when I start Mysql, it states:</p>
  
  <blockquote>
    <p>ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (40)</p>
  </blockquote>
  
  <p>I try  both <code>mysql</code> and <code>mysqld</code>:</p>
  
  <pre><code> service mysql status
  </code></pre>
  
  <p>It returned.</p>
  
  <p>I also can't start mysql my <code>/etc/init.d/mysql start</code> and <code>/etc/init.d/mysqld start</code></p>
  
  <blockquote>
    <p>/etc/init.d/mysql start
      -bash: /etc/init.d/mysql: No such file or directory</p>
    
    <p>mysql: unrecognized service</p>
  </blockquote>
  
  <p>please help!</p>