[RootForum] Small Database-HickUp

Ankündigungen und Neuigkeiten
Post Reply
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

[RootForum] Small Database-HickUp

Post by Joe User »

Dear RootForum Community,

due to a database-hickup all usernames where accidentally converted to lowercase. We therefor activated the username-change-feature, so you can login using your lowercased username and afterwards change your username in your profile if you prefer uppercase.

We apologize for this inconvenience.

Your RootForum Team
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: [RootForum] Small Database-HickUp

Post by Roger Wilco »

Könnte man die Benutzernamen nicht ggf. aus dem Backup wiederherstellen?
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: [RootForum] Small Database-HickUp

Post by Joe User »

Das Backup ist bereits eine Woche alt und würde die Zuordnung der seit dem erstellten Useraccounts und Posts verfälschen, was ein noch grösseres Chaos gäbe.

Mein Fehler :/
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: [RootForum] Small Database-HickUp

Post by Roger Wilco »

Nicht notwendigerweise. Ich hatte mir das folgendermaßen vorgestellt:

Aus dem Backup nur die Tabelle mit den Benutzerdaten in eine neue (temporäre) Datenbank einspielen und dann nur die Benutzernamen übernehmen.

Etwa so:

Code: Select all

UPDATE original.phpbb_users AS u SET u.username=(SELECT username FROM backup.phpbb_users WHERE id=u.id), u.username_clean=(SELECT username_clean FROM backup.phpbb_users WHERE id=u.id)
[Arnold]
Posts: 13
Joined: 2004-05-26 20:08
 

Re: [RootForum] Small Database-HickUp

Post by [Arnold] »

Das geht leider nicht wie gewünscht, jedenfalls kann ich den Namen im User Control Panel nicht ändern. PM ist unterwegs ...
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: [RootForum] Small Database-HickUp

Post by Joe User »

Danke für den Hinweis, ist nun gefixt.
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply