kanotix.com

Netzwerk - mysql server installieren?

happy_dogshit - 19.09.2006, 21:12 Uhr
Titel: mysql server installieren?
Hallo ich möchte einen mySQL-Server installieren, also habe ich das Packet "mysql-server" installiert. Wenn ich jetzt mit dem Befehl "mysqladmin -u root password 'passwort'" das Passwort ändern möchte sagt er mir das:
Code:

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!

Kano - 19.09.2006, 21:22 Uhr
Titel: RE: mysql server installieren?
Vielleicht solltest du mysql erstmal starten:

/etc/init.d/mysql start
happy_dogshit - 19.09.2006, 21:47 Uhr
Titel: RE: mysql server installieren?
Und wie mache ich das er MySQL immer automatisch startet?
Kano - 19.09.2006, 21:52 Uhr
Titel: RE: mysql server installieren?
update-rc.d -f mysql defaults
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007