MySQL on Tinysofa
Any one know why this is happening
root@localhost /bin# mysqladmin -u root password 'new_passsword' mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (111)' Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists! root@localhost /bin# root@localhost ~# /etc/init.d/mysql status No MySQL daemon pid file found. Looked for /var/lib/mysql/localhost.localdomain.pid. root@localhost ~# /etc/init.d/mysql start Starting MySQL daemon: [ OK ] root@localhost ~# I'm unsure what is happening do i need to reinstall mysql and how do i go about it please. I followed what i did on my PC, but this PC i'm working on is 270km away from me.. TT |
Hi
I read most of the post about this error and i still get this error I opened uo the port because this PC is 270km away from me. root@localhost /bin# mysqladmin -u root password 'XXXXXXXX' mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql .sock' (111)' Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' ex ists! root@localhost /var/run/mysql# ls mysql.sock= Code:
root@localhost /var/run/mysql# cd /usr/sbin/ TT :newbie: :study: |
how did u start mysqld? it's not running at all it seems. check out
'locate safe_mysqld' or 'locate mysqld_safe' to find the wrapper that starts mysqld and try to start it with it. |
this is what i get now, i'm still trying to work it out, as i've been at this most of the day..:p
Code:
root@localhost ~# /etc/init.d/mysql restart pid. it's not there.. TT |
I even did this to see if i could understand whats going
Code:
root@localhost ~# ./mysqld --basedir=/usr/local --verbose --help Could not open connection to host, on port 3306 I know its there i added the IP and port to the dsl unit.. but as you can see i'm trying, and yer its hard TT |
Hi we still have this problem
We rebooted the OS and the install went find, how ever i was able to connect to mysql and change its root pass etc. We restarted the pc and now we cant connect. this is what we see ..I'm at a real lost to this. TT :study: Code:
root@localhost ~# mysql |
All times are GMT -5. The time now is 03:07 AM. |