Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL 4.1.21 MyISAM? Bookmark4U
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
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Sun Oct 08, 2006 5:06 am    Post subject: MySQL 4.1.21 MyISAM? Bookmark4U Reply with quote

Hallo.

Ich habe vorher MySQL 4.0.25 verwendet. Darunter lief http://bookmark4u.sourceforge.net/ <--- Bookmark4U noch wunderbar. Aber mit der MySQL-Version 4.1.21 bekomm ich es einfach nicht hin. Das anlegen der Datenbank verläuft ohne Fehlermeldungen. Will ich mich aber dann an Bookmark4U anmelden, dann kommt "falsches Passwort". Es ist aber definitiv das richtige Passwort.
Egal, ob ich meine gesicherte B4U-Datenbank installiere, oder es komplett frisch mache. Keine Chance. ein anmelden ist nicht möglich.
Kann mir jemand sagen, was ich in PHPMyAdmin einstellen muss, dass es endlich funktioniert? Habe schon utf8-unicode-ci, Latin1-german-ci probiert. Das half nicht.
Würde nur sehr ungerne auf Bookmark4U verzichten. Habe bis jetzt noch nichts vergleichbares gefunden! :oops:

Gruss SeW
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul


Last edited by sewulba on Wed Oct 11, 2006 11:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Tue Oct 10, 2006 2:24 am    Post subject: Reply with quote

Hat keiner von Euch noch nicht mal nen Ansatz für mich? :?
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
dakjo
Veteran
Veteran


Joined: 31 Jan 2004
Posts: 1544

PostPosted: Tue Oct 10, 2006 6:56 am    Post subject: Reply with quote

Du hast schon alle abhängigkeiten von mysql neugebaut wie php etc.?
Also ein revdep-rebuild sollte evtl. helfen.
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Tue Oct 10, 2006 9:50 am    Post subject: Reply with quote

dakjo wrote:
Du hast schon alle abhängigkeiten von mysql neugebaut wie php etc.?
Also ein revdep-rebuild sollte evtl. helfen.


Danke für Deine Meldung!
Ja habe ich gemacht!
Ich habe irgendwie das Gefühl, dass mySQL die Passwörter anders encrypted, oder bei PHP hat sich etwas stark verändert von Version 4.3.1 zur Version 4.4.4-r4! :cry: Ich tappe komplett im dunkeln! :?

Gruss SeW
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
dakjo
Veteran
Veteran


Joined: 31 Jan 2004
Posts: 1544

PostPosted: Tue Oct 10, 2006 11:35 am    Post subject: Reply with quote

Ja dann mach doch mal das logging von php an und schau nach wo es hackt.
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Wed Oct 11, 2006 6:08 pm    Post subject: Reply with quote

dakjo wrote:
Ja dann mach doch mal das logging von php an und schau nach wo es hackt.


Logging ist an, aber er meldet kein Problem bei PHP!!! Ich denke du weisst jetzt warum ich am Verzweifeln bin!!!
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Wed Oct 11, 2006 11:19 pm    Post subject: Reply with quote

Es geht immer nur ein kleines Fenster auf mit gelben 3eckigen Schild und Ausrufezeichen drin auf. Dahinter steht... Falsches Passwort. Das war's! Keine weiteren Fehler gemeldet! :? Ich verzweifle noch... :cry:
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Wed Oct 11, 2006 11:29 pm    Post subject: Reply with quote

Es muss an PHP liegen... Habe auf einem anderen System MySQL-4.0.25 gelassen und nur den PHP-4.3.1 auf PHP-4.4.4-r4 geupdated. Schon geht Bookmark4U auch auf diesem System nicht mehr! Gleiches Verhalten, wie auch auf dem Server...

Habe ich vielleicht vergessen ein spezielles USE-Flag zu setzen?
Code:
[ebuild   R   ] dev-lang/php-4.4.4-r4  USE="apache2 berkdb bzip2 cli crypt curl expat gd gdbm gmp imap ldap mcal mhash mysql ncurses nls pcre readline session sockets spell sqlite ssl truetype unicode xml xsl zip zlib -adabas -apache -bcmath -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -ctype -db2 -dbase -dbmaker -dbx -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filepro -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -hardenedphp -hyperwave-api -iconv -informix -inifile -interbase -iodbc -ipv6 -java-external -java-internal -kerberos -libedit -mcve -memlimit -ming -mnogosearch -msql -mssql -oci8 -oci8-instant-client -odbc -oracle7 -overload -ovrimos -pcntl -pfpro -pic -posix -postgres -recode -sapdb -sharedext -sharedmem -snmp -solid -sybase -sybase-ct -sysvipc -threads -tokenizer -wddx -xmlrpc -xpm -yaz" 0 kB


So sieht es momentan aus! Irgendeinen weitere Idee?

Gruss SeW
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Thu Oct 12, 2006 11:41 pm    Post subject: Reply with quote

Was für Möglichkeiten habe ich herrauszubekommen, was bei PHP für Bookmark4U fehlt?
Lasst mich bitte nicht hängen! :(
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Wed Oct 18, 2006 7:30 am    Post subject: Reply with quote

Hat wirklich keiner mehr eine Idee für mich??? :(
Kommt und gebt mir nen Tipp! :P
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
sewulba
Guru
Guru


Joined: 09 Feb 2005
Posts: 517
Location: Heidelberg

PostPosted: Wed Oct 25, 2006 3:20 am    Post subject: Reply with quote

Es geht immer noch nicht. Welches USE-Flag muss ich setzten für PHP, damit endlich wieder Bookmark4U geht. Ich komm einfach nicht mehr weiter! Helft mir! :?
_________________
System1:Apple PowerMac Dual G4 @ 1,83GHz with 2GB Ram. 400GB + 80GB HDD, Gentoo 13.0-ppc32
System2:Apple MacIntosh PowerMac Dual G5 @ 2.7 GHz/1,35GHz FSB... 8GB Ram. 250GB SATA. Gentoo 10.0-PPC64-64ul
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Fri Oct 27, 2006 8:49 pm    Post subject: Reply with quote

sewulba wrote:
Es geht immer noch nicht. Welches USE-Flag muss ich setzten für PHP, damit endlich wieder Bookmark4U geht. Ich komm einfach nicht mehr weiter! Helft mir! :?

Hat nichts mit USE-Flags zu tun. Liegt einfach nur dadran das die PASSWORD Funktion (Marko, Script oder was auch immer das ist) ab irgendeiner Mysql Version den übergebenen String anders verschlüsselt als in den früheren MySQL Versionen. Dadurch wird der resultierende String, der als Passwort gespeichert wird, so lang das er nicht mehr ganz in die zugehörige Tabellenspalte passt. Daher wird dein Passwort beim einloggen nicht mehr erkannt.
Lösen kannst du das indem du die Spalte etwas größer machst :-).

Cheers,

Sino

EDIT:
Falls du die Datenbank neu aufsetzt, kannst du einfach die Skript Datei "bookmark4u/sql/db.mysql.sql" wie folgt abändern
Quote:

[...]

# password table
CREATE TABLE bk4u_passwd (
user CHAR(20) NOT NULL PRIMARY KEY, # user login name
uid INTEGER NOT NULL AUTO_INCREMENT, # user ID (integer)
passwd CHAR(60), # encrypted password
name CHAR(40), # user real name
email CHAR(50), # email address
lastlogin DATETIME, # last login time
lastip CHAR(15), # last login IP
logincnt INTEGER, # login counter
rdate DATETIME, # registration date and time
INDEX (uid)
);

# temporary password table (for un-allowed user, same definition with PASSWD)
CREATE TABLE bk4u_passwd_temp (
user CHAR(20) NOT NULL PRIMARY KEY, # user login name
uid INTEGER NOT NULL AUTO_INCREMENT, # user ID (integer)
passwd CHAR(60), # encrypted password
name CHAR(40), # user real name
email CHAR(50), # email address
lastlogin DATETIME, # last login time
lastip CHAR(15), # last login IP
logincnt INTEGER, # login counter
rdate DATETIME, # registration date and time
INDEX (uid)
);
[...]


Willst du deine vorhadene Datenbank (mit den ganzen Einträgen) weiterhin verwenden, gibst du in deinem sql-client (Das Shell-Tool "mysql", ...) folgendes ein:
Code:

mysql> alter table bk4u_passwd drop column passwd;

mysql> alter table bk4u_passwd_temp drop column passwd;

mysql> alter table bk4u_passwd add column passwd char(60);

mysql> alter table bk4u_passwd_temp add column passwd char(60);

Danach musst du allerdings alle Passwärter neu setzen :-)
Code:

update bk4u_passwd set passwd=PASSWORD('<DEIN_PASSWORT>') where user='<DEIN_USER>';

_________________
Help to answer the unanswered
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