• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] MySQL Client lässt sich nicht starten

Hallo!
Ich habe XAMPP auf mein SuSe 10.2 installiert (+ Devel Paket).
Ich wollte im Terminal den MySQL Client aufrufen, doch ich bekomme eine Fehlermeldung, dass es den Befehl gar nicht gibt.

Code:
patient-laptop:/opt/lampp/bin # mysql -u root -h localhost
bash: mysql: command not found

Liegt das am MySQL oder habe ich vergessen ein wichtiges Paket zu installieren?
 

ginka

Member
Probiers mal im (hoffentlich richtigen) Verzeichnis /opt/lampp/bin stehend mit

Code:
./mysql -u root -h localhost

oder mit absolutem Pfad

Code:
/opt/lampp/bin/mysql -u root -h localhost


Viele Grüße
ginka
 
OP
T

The_Patient

Newbie
ginka schrieb:
Probiers mal im (hoffentlich richtigen) Verzeichnis /opt/lampp/bin stehend mit

Code:
./mysql -u root -h localhost

oder mit absolutem Pfad

Code:
/opt/lampp/bin/mysql -u root -h localhost


Viele Grüße
ginka
Tatsächlich, beide Varianten funktionieren.
Vielen Dank!
 
Oben