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 3693662
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:24:13+00:00 2026-05-19T04:24:13+00:00

In my Ubuntu 10.10, following this tutorial , I don’t face step 2. I

  • 0

In my Ubuntu 10.10, following this tutorial, I don’t face step 2. I mean, while installing the packets, I don’t face anything related to configuration.

Then, when I run a command, such a

mysql -u root -p

, I get this error:

ERROR 2002 (HY000): Can’t connect to
local MySQL server through socket
‘/var/run/mysqld/mysqld.sock’ (2)

As I see in other treads,

ps aux | grep mysqld

gives me just this output:

1000 4508 0.0 0.0 5172 760 pts/0 S+
19:53 0:00 grep –color=auto mysqld

As you suggested me:

aptitude search mysql | grep ^i
Gives me:

i A libmysqlclient16 –
MySQL database client library
i A libqt4-sql-mysql –
Qt 4 MySQL database driver
i mysql-client-core-5.1 –
MySQL database core client binaries
i A mysql-common –
MySQL database common files, e.g.
/etc/mys i mysql-server-core-5.1
– MySQL database server binaries

What is happening??
Thanks in advance

  • 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-05-19T04:24:13+00:00Added an answer on May 19, 2026 at 4:24 am

    First check that mysql is installed:

    aptitude search mysql | grep ^i
    

    If it’s not do:

    sudo aptitude install mysql-server
    

    This will show the mysql packages that you have installed.

    If it is installed, it seems that the sql deamon is not started try

    sudo /etc/init.d/mysql start
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

HI there, So I followed this tutorial: http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html step by step in installing a
I'm using Ubuntu 10, python 2.6.5 I'm following this tutorial: http://www.djangobook.com/en/2.0/chapter02 I followed all
I'm installing Apache on Ubuntu following this install guide http://httpd.apache.org/docs/trunk/install.html but get an error
I have been following this tutorial , and at step 5, I am getting
I am following this tutorial that is like the hello world for post-commit I
I'm following this tutorial to set up an existing set of files for a
I'm following this amazing nettusts+ tutorial about sending a email to gmail. It aparently
I'm using Ubuntu 10.4 and learning PyGame following the tutorial 'Pummel the chimp and
Im pretty new to Linux in general. Ive just been following this tutorial(http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/) to
I am learning rails by following the Rails Tutorial under Ubuntu. I have been

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.