|
You last visited: Today at 11:37
Advertisement
[Question] Database
Discussion on [Question] Database within the EO PServer Hosting forum part of the Eudemons Online category.
03/10/2010, 18:35
|
#1
|
elite*gold: 0
Join Date: Feb 2008
Posts: 85
Received Thanks: 3
|
[Question] Database
Is there a script that you can run to clean out your database. I've noticed there is a lot of things left over from the previous owner.
|
|
|
03/10/2010, 18:43
|
#2
|
elite*gold: 5
Join Date: Feb 2010
Posts: 1,040
Received Thanks: 442
|
yes, there is indeed a script you can run.
Code:
DELETE from my.cq_user;
DELETE from my.cq_eudemon;
DELETE from my.cq_item;
DELETE from my.cq_account;
DELETE from my.cq_castle;
DELETE from my.cq_castleitem;
DELETE from my.cq_castlemap;
DELETE from my.cq_enemy;
DELETE from my.e_money;
DELETE from my.cq_donation_dynasort_rec;
this won't clean everything, but it will clean a lot of it.
|
|
|
03/10/2010, 18:46
|
#3
|
elite*gold: 0
Join Date: Sep 2009
Posts: 416
Received Thanks: 131
|
please use SEARCH IN THIS forum this is already released any way use this
Code:
DELETE from my.cq_user;
DELETE from my.cq_eudemon;
DELETE from my.cq_item;
DELETE from my.account;
DELETE from my.cq_castle;
DELETE from my.cq_castleitem;
DELETE from my.cq_castlemap;
DELETE from my.cq_enemy;
DELETE from my.e_money;
DELETE from my.cq_donation_dynasort_rec;
DELETE from my.cq_friend;
DELETE from my.cq_ad_log;
DELETE from my.cq_announce;
DELETE from my.cq_deluser;
DELETE from my.cq_dyna_rank_rec;
DELETE from my.cq_family;
DELETE from my.cq_flower;
DELETE from my.cq_magic;
DELETE from my.cq_partner;
DELETE from my.cq_pk_bonus;
DELETE from my.cq_shortcut_key;
DELETE from my.cq_special_status;
DELETE from my.cq_statistic;
DELETE from my.cq_synattr;
DELETE from my.cq_syndicate;
DELETE from my.cq_trade;
DELETE from my.cq_tutor;
DELETE from my.cq_tutor_contributions;
|
|
|
03/10/2010, 19:19
|
#4
|
elite*gold: 0
Join Date: Feb 2008
Posts: 85
Received Thanks: 3
|
Thanks my bad, Was just trying to get it done quick before work. I'll use this when I get home. =)
and about cleaning the nobility? xD
|
|
|
03/10/2010, 19:50
|
#5
|
elite*gold: 5
Join Date: Feb 2010
Posts: 1,040
Received Thanks: 442
|
post #5 reported, 1:47pm (-5 GMT) cause: double post
#PostsMerged
Quote:
Originally Posted by suanni
and about cleaning the nobility? xD
|
Code:
DELETE from my.cq_donation_dynasort_rec;
will take care of your nobility
|
|
|
03/10/2010, 19:58
|
#6
|
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 896
|
This one is mine. It's even in alphabetical order
Quote:
|
Originally Posted by King_Arthur
DELETE from account.account;
DELETE from my.cq_user;
DELETE from my.cq_eudemon;
DELETE from my.cq_item;
DELETE from my.cq_ad_log;
DELETE from my.cq_announce;
DELETE from my.cq_castle;
DELETE from my.cq_castleitem;
DELETE from my.cq_castlemap;
DELETE from my.cq_deluser;
DELETE from my.cq_donation_dynasort_rec;
DELETE from my.cq_dyna_rank_rec;
DELETE from my.cq_enemy;
DELETE from my.cq_family;
DELETE from my.cq_flower;
DELETE from my.cq_friend;
DELETE from my.cq_magic;
DELETE from my.cq_partner;
DELETE from my.cq_pk_bonus;
DELETE from my.cq_shortcut_key;
DELETE from my.cq_special_status;
DELETE from my.cq_statistic;
DELETE from my.cq_synattr;
DELETE from my.cq_syndicate;
DELETE from my.cq_trade;
DELETE from my.cq_tutor;
DELETE from my.cq_tutor_contributions;
DELETE from my.e_money;
Update cq_dynanpc set datastr = 'None', owner_name = default_owner_name, ownerid = 0, price = initial_price, deposit = 0 where ownerid > 9999;
|
|
|
|
03/10/2010, 22:10
|
#7
|
elite*gold: 0
Join Date: Feb 2008
Posts: 85
Received Thanks: 3
|
Thanks everyone that helped. Appreciated much.
|
|
|
03/10/2010, 22:50
|
#8
|
elite*gold: 5
Join Date: Feb 2010
Posts: 1,040
Received Thanks: 442
|
#requesting close
thread has been solved
|
|
|
03/11/2010, 00:28
|
#9
|
elite*gold: 0
Join Date: Mar 2010
Posts: 13
Received Thanks: 2
|
DELETE from account.account; - This will only work if u have account and my in ur DB.
If ur db consist of my only then replace the line with DELETE from my.account;
|
|
|
 |
Similar Threads
|
[SQL Question]Database cleanup
03/03/2011 - Dekaron Private Server - 9 Replies
so i am trying to perform my own databse cleanup(as i and about 4 other people have already mad a char with the existing db) but everytime i try to delete all account but ours they are all gone...i know verry little about SQL but this should be pretty simple should it not...this is what query i am running on the account database:
delete * from tbl_user where user_no<>firstnumber or user_no<>secondnumber or user_no<>thirdnumber or user_no<>fourthnumber
but all accounts are gone even the...
|
[QUESTION] (PKT database)
03/15/2010 - EO PServer Hosting - 2 Replies
Some on has a "WORKING" pkt database?
I mean , Ive got lots of database, none of them the pkt worked fine 0.0
So can someone "realease" the cq_action or maybe only the pkt tableīs (would be lots easy`r for me xP ) to i can fix this issue in my database....
'm not really good with pkt fixes so i need an right example :bandit:
(or rest thats needed for the pkt)
|
DK Database question
08/12/2009 - Dekaron Private Server - 0 Replies
while trying to help someone fix a prob i ran into something that i would like to get clarification on if anyone knows. in the billing database in table user_account what is the point of the remain_time remain_freetime and the expiration. i assumed that an account with 0 remain time and expired date that has passed would not be able to login. but that does not seem to be the case.....
|
question about walker mob database..
08/10/2009 - Lineage 2 - 3 Replies
hi all ^^
well after a few hours working on walker i was able to make it work in the server i play in.. a lot due to Oracle's tutorials.
well now that it works, im having a problem, the bot doesnt recognise the custom mobs of the server, and only attacks them if im being attacked..
so what i want to know is if its possible to add the costom mobs names, to the walker database? so it start attacking them..
|
question about getting database
05/25/2009 - SRO Private Server - 10 Replies
Hi all,just wondering how people gets original database from Sro,i mean they pay for it?they stole it?
People from ecsro made it,but they donīt have the whole thing,so that make me guess they just stole it or something.
Wanna know your opinnions :mofo:
|
All times are GMT +1. The time now is 11:38.
|
|