Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mySQL 4.1.12 Socket Problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
sYnopsis
n00b
n00b


Joined: 21 Nov 2004
Posts: 26

PostPosted: Sat Jun 04, 2005 12:58 pm    Post subject: mySQL 4.1.12 Socket Problem Reply with quote

Ich kann per Konsole wunderbar auf meinen Mysql-Server connecten.
Code:

mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.12-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> quit;
Bye


Wenn ich versuche mich über phpmyadmin einzuloggen bekomm ich den Fehler
Code:

#2002 - Der Server antwortet nicht. (evtl. ist auch der Socket des lokalen MySQL-Servers socket nicht korrekt konfiguriert)


Also da ich mich ja über die Konsole einloggen kann, läuft der Server wie man auch in den nächsten 2 Teste sieht
Code:

netstat -a --inet
tcp        0      0 localhost:mysql         *:*                     LISTEN


Code:

cat /var/run/mysqld/mysqld.pid
8151


Die phpinfo() ergibt unter dem Kapitel mysql
Code:

MySQL Support   enabled
Active Persistent Links    0
Active Links    0
Client API version    4.1.12
MYSQL_MODULE_TYPE    external
MYSQL_SOCKET    /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE    -I/usr/include/mysql
MYSQL_LIBS    -L/usr/lib -lmysqlclient


Die Datei /var/run/mysqld/mysqld.sock existiert, kann aber nicht geöffnet werden (was normal ist?)


Was ist der Fehler ?

PHP Version: 5.0.3-r2
Apache Version: 2.0.54-r6
MySQL Version: 4.1.12

edit:
mySQL
my.cnf http://rafb.net/paste/results/LDRe5589.html

phpMyAdmin
config.inc.php http://rafb.net/paste/results/Ix7RYk55.html

Als ich $cfg['Servers'][$i]['host'] aus der config.inc.php auf 192.168.2.5 (was meine interne IP ist) geändert hatte kam follgender Fehler
Code:

#2013 - Lost connection to MySQL server during query


Eine Vermutung von nem Kumpel ist, das irgendwelche Ports geblockt werden ?
Back to top
View user's profile Send private message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Sun Jun 05, 2005 9:27 am    Post subject: Reply with quote

Hallo.

Hatte ich auch letztens, bei mir waren die Rechte des Verzeichnisses /var/run/mysqld falsch. Fehlte das Excecutable Flag, sodass Apache nicht reinwechseln konnte. Mach doch ma chmod a+x /var/run/mysqld und versuchs nochmal.

t.
Back to top
View user's profile Send private message
sYnopsis
n00b
n00b


Joined: 21 Nov 2004
Posts: 26

PostPosted: Sun Jun 05, 2005 11:11 am    Post subject: Reply with quote

vielen Dank, jetzt läuft alles.

Liegt das an dem mysql-4.1.12 dann solle man es als Bug posten ?
Oder ist es nur eine Nebenerscheinung die nix damit zu tun hat ?
Back to top
View user's profile Send private message
himpierre
l33t
l33t


Joined: 31 Aug 2002
Posts: 867
Location: Berlin

PostPosted: Sun Jun 05, 2005 11:22 am    Post subject: Reply with quote

Yo, mach mal nen Bugreport. (hätte ich eigentlich auch schon machen sollen)

t.
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Sun Jun 05, 2005 6:21 pm    Post subject: Reply with quote

Die ebuild Message gelesen und entsprechende Pakete mit revdep-rebuild neu gebaut?
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum