Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Linux

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 03-27-2009, 03:49 PM
KK
Newsgroup Contributor
 
Posts: n/a
mySQL prob

i am using ubuntu 7.10, when i am trying to start mysql server, its
giving following error
" Can't connect to local MySQL server through socket '/var/run/mysqld/
mysqld.sock' (2)"
whats that about?

i have installed mysql twice to avoid this, but i get this every time

how to remove this prob?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 03-27-2009, 03:49 PM
  #2 (permalink)  
Old 03-27-2009, 03:49 PM
J.O. Aho
Newsgroup Contributor
 
Posts: n/a
Re: mySQL prob

KK wrote:
> i am using ubuntu 7.10, when i am trying to start mysql server, its
> giving following error
> " Can't connect to local MySQL server through socket '/var/run/mysqld/
> mysqld.sock' (2)"
> whats that about?


The mysql client, "mysql", tells you that it can't find the socket file
'/var/run/mysqld/mysqld.sock' as there is no locally running mysql server,
"mysqld". You have two options, either start the mysql server before you try
to connect to it locally or you use the host option '-h' to connect to a
remote server (this requiers that you have the privilege to connect from your
location to the server).


--

//Aho
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 03-27-2009, 03:49 PM
J.O. Aho
Newsgroup Contributor
 
Posts: n/a
Re: mySQL prob

KK wrote:
> i am using ubuntu 7.10, when i am trying to start mysql server, its
> giving following error
> " Can't connect to local MySQL server through socket '/var/run/mysqld/
> mysqld.sock' (2)"
> whats that about?


The mysql client, "mysql", tells you that it can't find the socket file
'/var/run/mysqld/mysqld.sock' as there is no locally running mysql server,
"mysqld". You have two options, either start the mysql server before you try
to connect to it locally or you use the host option '-h' to connect to a
remote server (this requiers that you have the privilege to connect from your
location to the server).


--

//Aho
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thunderbird prob may be a Windows prob Thunderbird Windows XP 9 07-11-2008 04:00 AM
MySQL Vs. LDAP Michael Everson Linux 3 10-21-2007 04:40 PM
mysql connector with monodevelop Andreas Duffner Linux 0 05-06-2007 12:12 AM
Apache, PHP and MySQL on Windows CE kheimon Pocket PC General 0 04-11-2007 06:30 AM
mySQL and wave files Pachy Desktop Computers 0 02-06-2007 05:04 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 08:27 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0