Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7913161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:46:43+00:00 2026-06-03T13:46:43+00:00

I have recently installed SQLDeveloper and connected to mysql through it, after which I

  • 0

I have recently installed SQLDeveloper and connected to mysql through it, after which I am facing following error:

[root@tborl01 LATER]# mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[root@tborl01 LATER]#

while connection with same credential is successful through SQLDeveloper, this means that the mysqld is running.
I have closed the connection through SQLDeveloper and again tried to connect through command prompt but faces same error.

I have also tried to start/ restart mysql service:

service mysql restart

MySQL manager or server PID file could not be found!       [FAILED]
Starting MySQL.................................................................................................../etc/init.d/mysql: line 159: kill: (21944) - No such process
                                                           [FAILED]

Listing running process gives following output( shows mysqld as running)

[root@tborl01 init.d]# ps -eaf | grep mysqld
root      4849     1  0  2011 ?        00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/tborl01.pid

mysql     4878  4849  0  2011 ?        02:39:06 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/tborl01.pid --skip-external-locking

root     19572 21368  0 13:42 pts/6    00:00:00 grep mysqld

Does SQLDeveloper changes some setting?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T13:46:44+00:00Added an answer on June 3, 2026 at 1:46 pm
    1. mysql is not the service it is mysqld

    2. you need to connect with mysql as

      mysql -h 127.0.0.1 -u root -p

    Try and let me know

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently installed xampp, followed the installation. MySQL/apache. (I have same website running on
I have a curious problem: My app is distributed through ClickOnce. I recently installed
I have recently installed RubyMine 4.0 , which allows you to increase or decrease
I have recently downloaded and installed NHibernate 3.1. There are 2 new DLL's which
I'm trying to get away from using Mamp, so have recently installed mysql, edited
We have recently installed TFS 2010. Our Active Directory users (i.e. my company's staff)
I have recently installed subversion and nginx server on my machine (macbook pro). I'm
I recently installed the phpBB app using the one click function (I have a
I have recently reinstalled my computer, installed latest version of Android SDK and Eclipse.
I recently installed Visual Studio 2010 Pro. There might have been a link to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.