MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 18th, 2003, 06:56 AM
limnil limnil is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Lithuania
Posts: 20 limnil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
'Can't connect to local MySQL server through socket '/tmp/mysql/mysql.sock' (111)'

#./mysqladmin version

i get this:

./mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql/mysql.sock' exists!
------------------------------------------------------------------------------------
but when i do mysql-test-run, i geti this:

Master shutdown finished
Slave shutdown finished
All 135 tests were successful.

I cant understand where the proble is.

Reply With Quote
  #2  
Old February 18th, 2003, 10:16 AM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
Check that it is running:

ps auwx | grep mysqld
__________________
__________________________________________________ _
Wil Moore III, MCP | Integrations Specialist | Senior Consultant
Are You Listed...? | DigitallySmooth Inc.

Reply With Quote
  #3  
Old February 18th, 2003, 11:25 AM
limnil limnil is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Location: Lithuania
Posts: 20 limnil User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy

#ps auwx | grep mysqld

and receive:

root 9375 0.0 0.3 1308 512 pts/8 S 20:24 0:00 grep mysqld

and.....

Reply With Quote
  #4  
Old February 18th, 2003, 02:32 PM
digitallysmooth digitallysmooth is offline
you know how we do
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 788 digitallysmooth User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 21 sec
Reputation Power: 7
Mysql is not running...

issue: /usr/local/mysql/bin/safe_mysqld &


This may not be your path, so just
swap that path out for yours.

Reply With Quote
  #5  
Old March 16th, 2004, 07:02 AM
Craig Hannon Craig Hannon is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 Craig Hannon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

After trying to do this myself, i found an answer to your question.

Basically if u log in as the root user by issuing the following command:

su
(enter password)

then issue the command to start mysql by

/usr/local/mysql/bin/mysqld_safe &

You will be granted access and mysql will start

Reply With Quote
  #6  
Old March 19th, 2004, 10:12 AM
awpadmin awpadmin is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 awpadmin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 54 sec
Reputation Power: 0
Question Over my Head...Please Help...

/usr/local/mysql/bin/mysqladmin -u root password "newpsswd"
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
====>
I am trying to install MySQL and thon my MAC OS 10.3.2 machine. i am at the step where I have to create a databse and set the root password but it is not working like the documetaition says. This is the last error i get after starting the SQl server. The command mysqladmin comes up invalid. I have no idea what to do next. Thanks.

-=awpadmin=-



Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > 'Can't connect to local MySQL server through socket '/tmp/mysql/mysql.sock' (111)'


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT