Archiv verlassen und diese Seite im Standarddesign anzeigen : mysql socket problem
dave@dave-laptop:/opt/lampp$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Was kann ich tun, damit mysql funktioniert?
Ich habe Kubuntu 7.04. Kann mir jemand bitte helfen. Und ich habe xampp installiert.
Rain_maker
08.09.07, 18:02
Ergebnisse 1 - 10 von ungefähr 1.200 für ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). (http://www.google.com/search?client=opera&rls=de&q=ERROR+2002+(HY000):+Can't+connect+to+local+MySQL +server+through+socket+'/var/run/mysqld/mysqld.sock'+(2)&sourceid=opera&ie=utf-8&oe=utf-8)
su
Passwort
tar xvfz xampp-linux-1.6.3b.tar.gz -C /opt
.............Geschwurbel gekürzt........
/opt/lampp/lampp start
Starte XAMPP fuer Linux 1.6.3b...
XAMPP: Starte Apache mit SSL (und PHP5)...
XAMPP: Starte MySQL...
XAMPP: Starte ProFTPD...
XAMPP fuer Linux gestartet.
Geht doch.
Hi!
Den MySQL-Client von XAMPP aufrufen oder noch besser statt XAMPP Apache, MySQL und PHP von Ubuntu verwenden.
Gruß
fuffy
Ergebnisse 1 - 10 von ungefähr 1.200 für ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). (http://www.google.com/search?client=opera&rls=de&q=ERROR+2002+(HY000):+Can't+connect+to+local+MySQL +server+through+socket+'/var/run/mysqld/mysqld.sock'+(2)&sourceid=opera&ie=utf-8&oe=utf-8)
su
Passwort
tar xvfz xampp-linux-1.6.3b.tar.gz -C /opt
.............Geschwurbel gekürzt........
/opt/lampp/lampp start
Starte XAMPP fuer Linux 1.6.3b...
XAMPP: Starte Apache mit SSL (und PHP5)...
XAMPP: Starte MySQL...
XAMPP: Starte ProFTPD...
XAMPP fuer Linux gestartet.
Geht doch.
yo das funktioniert bei mir auch, aber über die bash gehts halt nicht
Hi!
Den MySQL-Client von XAMPP aufrufen oder noch besser statt XAMPP Apache, MySQL und PHP von Ubuntu verwenden.
Gruß
fuffy
wie ruf ich denn den mysqlclient von xampp auf?
dave@dave-laptop:/opt/lampp/share$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
dave@dave-laptop:/opt/lampp/share$
geht leider nicht
wie ruf ich denn den mysqlclient von xampp auf?
So:
/opt/lampp/bin/mysql
Gruß
fuffy
dave@dave-laptop:/opt/lampp/bin$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
selber fehler :(. WEißt du Rat?
Du sollst nicht in das Verzeichnis /opt/lampp/bin wechseln sondern das Binary /opt/lampp/bin/mysql ausführen ;)
Rain_maker
08.09.07, 18:59
/opt/lampp/lampp --help
Du sollst nicht in das Verzeichnis /opt/lampp/bin wechseln sondern das Binary /opt/lampp/bin/mysql ausführen ;)
jetzt hats funktioniert danke, ich glaube, der hat immer das von der PATH variablen ausgeführt
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.