• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

Another MySQL daemon already running with the same unix socket

February 1, 2014 by Sharad Chhetri Leave a Comment

In this post ,I am sharing the error message ” Another MySQL daemon already running with the same unix socket “. The error found in our own sharadchhetri.com blog while restarting the MySQL server.It is at 6:55 PM IST,I noticed the weird error message on blog,”Error establishing a database connection”.I log into the server and restarted the MySQL service by simply typing /etc/init.d/mysqld restart .But I got the error as given below –

[root@sharadchhetri-server ~]# /etc/init.d/mysqld start
Another MySQL daemon already running with the same unix socket.
Starting mysqld:                                           [FAILED]
[root@sharadchhetri-server ~]#

blog

So,I have resolved the issue by removing mysql.sock file.Given below is the method –

[root@sharadchhetri-server ~]# rm /var/lib/mysql/mysql.sock 
rm: remove socket `/var/lib/mysql/mysql.sock'? y
[root@sharadchhetri-server ~]#

Then started the MySQL service

[root@sharadchhetri-server ~]# /etc/init.d/mysqld start
Starting mysqld:                                           [  OK  ]
[root@sharadchhetri-server ~]#

๐Ÿ™‚ And error is gone.Issue is resolved.

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Find mysql commands history without mysql server login
  2. How to find which filesystem is supported by running kernel
  3. Show running process in postgresql
  4. There are unfinished transactions remaining. You might consider running yum-complete-transaction
  5. Setup htpasswd on WordPress wp-admin running on nginx
  6. How to install mysql server in RedHat and CentOS
  7. How to check default storage engine in MySQL server
  8. Install MySQL workbench in Ubuntu
  9. Change mysql default port number in linux
  10. How to create multiple mysql instance in CentOS 6.4 and Red Hat 6.4

Filed Under: Linux, mysql Tagged With: mysql

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

Replace keyword with its filename without extension : bash script

Error installing rails

New XAMPP security concept

Print double hyphen sign simultaneously in post of Octopress

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

linux release renew dhcp assigned ip address

Allow only members of Wheel group to use su command on RHEL/CentOS

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy