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, 05: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, 09: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: 8
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, 10: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, 01: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: 8
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, 06: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, 09: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



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




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