MySQL when running on LiveDVD (GnackTrack - ubuntu based distro) -Error 2002

--0016363b7fe46ed28e049d567b71
Content-Type: text/plain; charset=ISO-8859-1

The following occurs when running the Live version of GnackTrack, if you
install from the LiveDVD this issue is no longer present.
LiveDVD can be downloaded from www.gnacktrack.co.uk - this can be used to
demonstrate issue but i think it's likely somethign simple

root [at] root:~# mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
root [at] root:~# updatedb
root [at] root:~# locate mysqld.sock
/rofs/var/run/mysqld/mysqld.sock
root [at] root:~#

Snip of /etc/mysql/my.cnf (shortened to show sock location.)
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
user = mysql
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
skip-external-locking

Are there any work arounds for this? What could i do to ensure that mysql
can be connected to when running the LiveDVD?


more output:
root [at] root:~# mysql -h127.0.0.1
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
root [at] root:~# mysql -S /rofs/var/run/mysqld/mysqld.sock
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/rofs/var/run/mysqld/mysqld.sock' (111)
root [at] root:~#

--0016363b7fe46ed28e049d567b71--
Matthew Phillips [ Mo, 28 Februar 2011 13:04 ] [ ID #2055932 ]
Datenbanken » gmane.comp.db.mysql.general » MySQL when running on LiveDVD (GnackTrack - ubuntu based distro) -Error 2002

Vorheriges Thema: Why do stored procedures limited to Select stmt to 1 OUT parameter?
Nächstes Thema: a crash bug