All pastes #49407 Raw Edit

Anonymous

public text v1 · immutable
#49407 ·published 2006-04-15 05:33 UTC
rendered paste body
word@TJCOMP:~$ mysqladmin shutdown
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
word@TJCOMP:~$ sudo -i
root@TJCOMP:~# chown -R word /path/to/mysql/datadir
chown: cannot access `/path/to/mysql/datadir': No such file or directory
root@TJCOMP:~# mysqld --user=word
Warning: Ignoring user change to 'word' because the user was set to 'mysql' earlier on the command line
060414 21:54:29 Can't start server: Bind on TCP/IP port: Cannot assign requested address
060414 21:54:29 Do you already have another mysqld server running on port: 3306 ?
060414 21:54:29 Aborting

060414 21:54:29 mysqld: Shutdown Complete