|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
'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. |
|
#2
|
|||
|
|||
|
Check that it is running:
ps auwx | grep mysqld
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
|
#3
|
|||
|
|||
|
#ps auwx | grep mysqld
and receive: root 9375 0.0 0.3 1308 512 pts/8 S 20:24 0:00 grep mysqld and..... ![]() |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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 ![]() |
|
#6
|
|||
|
|||
|
/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=- ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > 'Can't connect to local MySQL server through socket '/tmp/mysql/mysql.sock' (111)' |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|