WCM - Das österreichische Computer Magazin Forenübersicht
 

Zurück   WCM Forum > Rat & Tat > Programmierung

Programmierung Rat & Tat für Programmierer

Microsoft KARRIERECAMPUS

 
 
Themen-Optionen Ansicht
Alt 03.03.2007, 12:05   #1
SerenDwyn
Master
 
Registriert seit: 20.11.2005
Beiträge: 748


Standard mysql: Can't connect to local MySQL server

Ich hab da ein Problem mit mysql unter opensuse 10.2. (absolute Standardinstallation, installierte Pakete: mysql, mysql-client, mysql-shared) Ich wollte mal beginnen und eine Datenbank erstellen, bekomm aber immer folgendes:
Zitat:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
mysqld scheint zu laufen:
Zitat:
ps xa | grep mysqld
7439 pts/1 S+ 0:00 grep mysqld
Auszug aus der /etc/my.conf:
Zitat:
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
socket = /var/lib/mysql/mysql.sock
Zitat:
ls -a /var/lib/mysql
. .. .protected .run-mysql_upgrade .tmp
Die Firewall ist auch nicht schuld. Die mysql.sock Datei gibts nicht. Wenn ich eine leere Datei anlege hilfts trotzdem nix.

Wo happerts da bei mir? Selbst ein Kommando wie mysqladmin version liefert obigen Fehler.

Danke!
SerenDwyn ist offline   Mit Zitat antworten
 


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.

Gehe zu


Alle Zeitangaben in WEZ +2. Es ist jetzt 23:04 Uhr.


Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
© 2009 FSL Verlag