Need some help with mysql clean up

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Elektra
Posts: 205
Joined: Thu Sep 01, 2005 2:32 am

Need some help with mysql clean up

Post by Elektra »

Well Ive deleted some accounts and some characters with the account php pages but i dont think it deleted the charater skills, quest info and items. Im not all that great with mysql and am in need of a command or 2 to check items, quest info and skills against the characters db and if the character no longer exists then delete those entries. Would be most helpful to keep it clean and streamlined to provide fast clean game play. Thanks :)
User avatar
DrLecter
L2j Inner Circle
L2j Inner Circle
Posts: 705
Joined: Sat Jul 23, 2005 8:32 pm
Contact:

Post by DrLecter »

I used this script some time ago to keep my db clean. The queries you are looking for are essentially there.
kmarty
Posts: 8
Joined: Sun Sep 25, 2005 2:48 pm

Post by kmarty »

2Lecter: Thank you for another thing. I must overlooked that MySQL already know subselects (I ran for a long time on 3.23 not on 4.xx).
Last edited by kmarty on Wed Oct 19, 2005 9:36 pm, edited 1 time in total.
Elektra
Posts: 205
Joined: Thu Sep 01, 2005 2:32 am

Post by Elektra »

that was exactly what i was looking for, did a fantastic job. thank you!
Post Reply