Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql - kein login mehr möglich - nur über myadmin !!
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
schildi
n00b
n00b


Joined: 28 Jun 2004
Posts: 31

PostPosted: Sat Jul 31, 2004 2:08 pm    Post subject: mysql - kein login mehr möglich - nur über myadmin !! Reply with quote

hallo,

gestern konnte ich mich noch mit demselben php-script einloggen, welches heute urplötzlich nicht mehr funktioniert. das konnte nicht sein und ich versucht mich auf meinem gentoo-linux über die konsole als root in mysql einzuloggen. geht plötzlich nicht mehr!!
das ganze sieht so aus:

lars_gentoo root # mysql -user lars -p
Enter password:
ERROR 1045: Access denied for user: 'ser@localhost' (Using password: YES)
lars_gentoo root # mysql -user root -p
Enter password:
ERROR 1045: Access denied for user: 'ser@localhost' (Using password: YES)

passwort habe ich natürlich richtig eingegeben. das verrückte ist, das phpMyAdmin trotzdem noch reinkommt. Was mich auch sehr stutzig macht ist das "ser" vor @localhost. da müsste doch root stehen wenn ich als root angemeldet bin, bzw. der nutzer den ich als -user angeb?

bevor ich heute mein php-script nochmals ablaufen lassen wollte, ist allerdings unter gentoo der datei-browser abgestürzt. ausserdem habe ich einmal nachdem ich "boot" gemountet hatte innerhalb des verz. boot in der konsole "reboot" eingegeben, da ich den rechner neu starten wollte. da hat er angefangen jedes programm, welches ich ausführen wollte unendlich oft zu starten und nur ein hardware-reboot konnte noch helfen.

kann der mysql-fehler daher kommen???
und wieso kommt dann phpMyAdmin noch rein? mit denselben daten?
ich hab sogar unter phpMyAdmin nochmals user neu angelegt mit allen rechten. auch den root user. und trotzdem komm ich über die konsole nicht rein!

was soll ich bloß tun?
bin grad mitten in der arbeit ;(

danke für jeden hilfreichen beitrag!!!
Back to top
View user's profile Send private message
nope2dope
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2003
Posts: 103
Location: Sinntal - Germany

PostPosted: Sat Jul 31, 2004 2:16 pm    Post subject: Reply with quote

Das muss so gehen:
Code:

mysql -u lars -p

_________________
...keine Experimente.
Back to top
View user's profile Send private message
schildi
n00b
n00b


Joined: 28 Jun 2004
Posts: 31

PostPosted: Sat Jul 31, 2004 2:21 pm    Post subject: Reply with quote

schlag mich bitte!: :oops: :oops:

DANKE
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