Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 |
emerge --config =dev-db/mysql-5.1.44 |
Quellcode |
|
1 |
# mysql -p -u xxx |
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
# mysql -p -u josef64 Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 6 Server version: 5.1.44-log Gentoo Linux mysql-5.1.44 Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »josef.95« (27.02.2010, 19:27)
Hm.., du meinst die Meldung aus diesem Beitrag [erledigt] amarok und mysql oder?Irgenetwas stimmt nicht.
Immer wieder kommt dieselbe Fehlermeldung wie oben.
localhost als hostname wird bemängelt und funktioniert nicht.
Quellcode |
|
1 2 3 4 |
Starting ... * Starting (/etc/mysql/my.cnf) * MySQL NOT started (0) [ !! ] * ERROR: mysql failed to start |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
emerge --config =dev-db/mysql-5.1.44 Configuring pkg... * Creating the mysql database and setting proper * permissions on it ... * Insert a password for the mysql 'root' user * Avoid ["'\_%] characters in the password > * Retype the password > .100227 22:01:48 [Warning] The syntax '--default-character-set' is deprecated and will be removed in a future release. Please use --character-set-server instead. 100227 22:01:48 [Warning] The syntax '--skip-locking' is deprecated and will be removed in a future release. Please use --skip-external-locking instead. 100227 22:01:48 [Warning] //usr/sbin/mysqld: Option '--set-variable' is deprecated. Use --variable-name=value instead. ....ERROR 2002 (HY000): Can't connect to local MySQL server through socket '//var/run/mysqld/mysqld16607.sock' (2) * Loading "zoneinfo", this step may require a few seconds ... ERROR 2002 (HY000): Can't connect to local MySQL server through socket '//var/run/mysqld/mysqld16607.sock' (2) /var/tmp/portage/dev-db/mysql-5.1.44/temp/environment: Zeile 3629: //var/run/mysqld/mysqld29012.pid: Datei oder Verzeichnis nicht gefunden kill: Gebrauch: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] * Stopping the server ... * Done |
Quellcode |
|
1 2 |
# revdep-rebuild --library libmysqlclient.so.15 # revdep-rebuild --library libmysqlclient_r.so.15 |
Quellcode |
|
1 2 |
* Starting ... * Starting (/etc/mysql/my.cnf) |
Quellcode |
|
1 2 |
Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) |
Quellcode |
|
1 2 |
Die Verbindungseinstellungen für den Datenbank-Server sind ungültig. Sie müssen die Einstellungen berichtigen und Amarok danach neu starten. |
Quellcode |
|
1 2 3 |
# IPv4 and IPv6 localhost aliases 127.0.0.1 localhost neu ::1 localhost neu |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Zeile 3636: if mysql_version_is_at_least "4.1.3"; then myconf="${myconf} --with-geometry"; myconf="${myconf} $(use_with cluster ndbcluster)"; fi; if mysql_version_is_at_least "4.1.3" && use extraengine; then myconf="${myconf} --with-archive-storage-engine"; myconf="${myconf} --with-csv-storage-engine"; myconf="${myconf} --with-blackhole-storage-engine"; if mysql_version_is_at_least "5.0.3"; then elog "Before using the Federated storage engine, please be sure to read"; elog "http://dev.mysql.com/doc/mysql/en/federated-limitations.html"; myconf="${myconf} --with-federated-storage-engine"; fi; |
Quellcode |
|
1 |
error: 'Access denied for user 'root'@'localhost' (using password: NO)' |
Quellcode |
|
1 2 |
mysql> CREATE DATABASE amarokdb; Query OK, 1 row affected (0.00 sec) |
Quellcode |
|
1 2 |
mysql> USE amarokdb; Database changed |
Quellcode |
|
1 2 3 4 |
mysql> GRANT ALL ON amarokdb.* TO 'manfred'@'localhost' IDENTIFIED BY 'Passwort'; mysql> FLUSH PRIVILEGES; mysql> quit Bye |
Quellcode |
|
1 |
$ mysql -u root |
Quellcode |
|
1 |
mysql> set password for root@localhost = password('XXXXX'); |
Quellcode |
|
1 2 |
mysql> flush privileges; mysql> quit |
Quellcode |
|
1 |
$ mysql -p -u root |
Nein, das würde ich nicht machen, afaik sollte das nicht nötig sein.Zitat von »"Windhund"«
Mal eine Frage:
In /etc/group steht ja auch mysql - muss ich in der Gruppe sein und per passwd mysql auch ein Passwort setzen?
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »josef.95« (31.03.2010, 02:17)
Zitat
Manfred, gibt es den wirklich einen triftigen Grund nun Version mysql-5.1 verwenden zu müssen?
Wenn nein, dann deinstalliere
dev-db/mysql virtual/mysql amarok-utils und amarok
maskiere dann zb "=virtual/mysql-5.1"
und installiere amarok neu.
Quellcode |
|
1 |
Installed versions: 2.3.0(4)!t(20:20:34 30.03.2010)(linguas_de opengl -aqua -cdda -daap -debug -embedded -ipod -kdeenablefinal -lastfm -linguas_bg -linguas_ca -linguas_cs -linguas_da -linguas_en_GB -linguas_es -linguas_et -linguas_eu -linguas_fi -linguas_fr -linguas_it -linguas_ja -linguas_km -linguas_nb -linguas_nds -linguas_nl -linguas_pa -linguas_pl -linguas_pt -linguas_pt_BR -linguas_ru -linguas_sl -linguas_sr -linguas_sr@latin -linguas_sv -linguas_th -linguas_tr -linguas_uk -linguas_wa -linguas_zh_TW -mp3tunes -mtp -semantic-desktop) |
Zitat
Die eingebundene Datenbank kann nicht gefunden werden. Sie müssen eine Verbindung zum Datenbank-Server einrichten.
Danach müssen Sie Amarok neu starten.
Quellcode |
|
1 2 3 |
[I] dev-db/mysql Available versions: [M]3.23.58-r1 [M]4.0.27-r1 [M]4.1.22-r1 [M]5.0.54 5.0.70-r1 ~5.0.72 ~5.0.72-r1 ~5.0.76 ~5.0.76-r1 ~5.0.83 ~5.0.84 5.0.84-r1 ~5.0.87 ~5.0.88 ~5.0.90 ~5.0.90-r1 5.0.90-r2 ~5.1.39-r1 ~5.1.44 ~5.1.44-r1 ~5.1.44-r2 ~5.1.44-r3 ~5.1.45 ~5.1.45-r1 [M]~5.4.3_beta [M]~5.5.1_alpha_pre2 {berkdb big-tables cluster +community debug embedded extraengine innodb latin1 max-idx-128 minimal pbxt (+)perl profiling raid readline selinux ssl static tcpd test xtradb} Installed versions: 5.0.90-r2(19:39:32 30.03.2010)(berkdb community embedded perl ssl -big-tables -cluster -debug -extraengine -latin1 -max-idx-128 -minimal -profiling -selinux -static -test) |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Poedel« (31.03.2010, 18:06)