PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : mysql problem ...



sk9
08.08.04, 01:11
Hi,

also ich habe auch folgendes Problem ...

ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)


Die suche hab ich schon benutzt, aber da kam nicht viel bei raus. Mein Problem besteht größer. Ich würde gerne alles was komplett mit MySQL zutun hat löschen bzw. uninstallen.

DIST : Debian

apt-get remove mysql-server hab ich schon gemacht, aber trotzdem find ich viele mysql dateien. Wenn ich das dann wieder installe, dann kommt ja dieser Fehler, daher will ihc das komplett weghauen. Desweiteren hab ich noch eine Frage, wie krieg ich raus welche my.cnf er benutzt ? Ich hab 3x gefunden aber alle 3 leer ...


MfG

Pingu
08.08.04, 08:41
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
siehe Manual: http://dev.mysql.com/doc/mysql/de/Can_not_connect_to_server.html


apt-get remove mysql-server hab ich schon gemacht, aber trotzdem find ich viele mysql dateien. Wenn ich das dann wieder installe, dann kommt ja dieser Fehler, daher will ihc das komplett weghauen. Desweiteren hab ich noch eine Frage, wie krieg ich raus welche my.cnf er benutzt ? Ich hab 3x gefunden aber alle 3 leer ...
siehe Manual: http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.de.html#s-remove

Pingu

sk9
12.08.04, 21:20
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock'

Das bekomm ich immer wieder. ich find auch keine Lösung dazu ...

$kuLL
12.08.04, 21:35
Doch Pingu hat dir doch den Link zu dem Problem gegeben.
Wenn dir das nicht gefällt nutze doch die Suchfunktion, denn dein Problem hatten vor dir schon vieeeeeeeeeeeele Leute hier...

sk9
12.08.04, 22:28
naja nun ist das nichtmehr mein Problem. Ich hab Hilfe bekommen wie man das richtig macht und es läuft auch fast ... Es komm nun nurnoch das ...

[INHALT DER err -DATEI]

Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
040812 23:16:30 /usr/sbin/mysqld: Shutdown Complete


PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h vl07s02 password 'new-password'
See the manual for more instructions.

Please report any problems with the /usr/bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com

ERROR: 1017 Can't find file: './mysql/user.frm' (errno: 13)
040812 23:16:30 /usr/sbin/mysqld: Shutdown Complete

040812 23:16:30 Error at /etc/init.d/mysql\n/etc/init.d/mysql: line 1: /usr/bin/mysqladmin: No such file or directory
040812 23:16:32 Error at /etc/init.d/mysql\n/etc/init.d/mysql: line 1: /usr/bin/mysqladmin: No such file or directory
040812 23:16:33 Error at /etc/init.d/mysql\n/etc/init.d/mysql: line 1: /usr/bin/mysqladmin: No such file or directory
040812 23:16:34 Error at /etc/init.d/mysql\n/etc/init.d/mysql: line 1: /usr/bin/mysqladmin: No such file or directory
040812 23:16:35 Error at /etc/init.d/mysql\n/etc/init.d/mysql: line 1: /usr/bin/mysqladmin: No such file or directory
040812 23:16:36 Error at /etc/init.d/mysql\n/etc/init.d/mysql: line 1: /usr/bin/mysqladmin: No such file or directory
040812 23:16:37 Error at /etc/init.d/mysql\n/etc/init.d/mysql: line 1: /usr/bin/mysqladmin: No such file or directory

$kuLL
12.08.04, 22:31
Führ erstmal das 'mysql_install_db' Script aus.

sk9
12.08.04, 22:45
is .. is aber kommt immernoch ...

SpeedyX
13.08.04, 13:22
apt-get remove --purge mysqlserver


das remove entfernt nur das programm aber keine configs. mit --purge wird alles von der pladde geputzt.

sk9
13.08.04, 14:27
ich will es aber nicht removen .. das hab ich damit schon 5x gemacht. Mein Fehler kommt beim Installen ... bzw. nachdem ich apt-get install mysql-server gemacht habe. So steht es in der Error Datei ...

Nur wie kann ich das fixen ?