Register for your free account! | Forgot your password?

You last visited: Today at 05:01

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



ConquerDatabaseHandler

Discussion on ConquerDatabaseHandler within the CO2 Exploits, Hacks & Tools forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
lpf333's Avatar
 
elite*gold: 0
Join Date: Feb 2020
Posts: 18
Received Thanks: 0
Arrow ConquerDatabaseHandler

i want Looking for a merge database tool

Dear gods, who can share:p:p:p
lpf333 is offline  
Old 03/15/2021, 09:32   #2
 
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 31
What kind of 'merge' tool are you looking for?
bashondegek is offline  
Old 03/15/2021, 10:11   #3
 
lpf333's Avatar
 
elite*gold: 0
Join Date: Feb 2020
Posts: 18
Received Thanks: 0
Smile

Quote:
Originally Posted by bashondegek View Post
What kind of 'merge' tool are you looking for?

Merge two databases into one
lpf333 is offline  
Old 03/15/2021, 13:35   #4
 
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 31
Quote:
Originally Posted by lpf333 View Post
Merge two databases into one
Tables and columns are all the same?
Column types, names etc?

If not, you'll have a hard time merging 2 databases into one.
bashondegek is offline  
Old 03/16/2021, 05:54   #5
 
lpf333's Avatar
 
elite*gold: 0
Join Date: Feb 2020
Posts: 18
Received Thanks: 0
Wink

Quote:
Originally Posted by bashondegek View Post
Tables and columns are all the same?
Column types, names etc?

If not, you'll have a hard time merging 2 databases into one.

All tables and fields are the same. I need a tool
lpf333 is offline  
Old 03/16/2021, 09:07   #6
 
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 31
Quote:
Originally Posted by lpf333 View Post
All tables and fields are the same. I need a tool
Just try it with queries.
Something like this will do the job;

Code:
INSERT INTO database2.table_name
SELECT * FROM database1.table_name
ON DUPLICATE KEY IGNORE;
bashondegek is offline  
Old 03/19/2021, 09:03   #7
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 706
Quote:
Originally Posted by bashondegek View Post
Just try it with queries.
Something like this will do the job;

Code:
INSERT INTO database2.table_name
SELECT * FROM database1.table_name
ON DUPLICATE KEY IGNORE;
Sure, if you don’t mind data loss.
turk55 is offline  
Old 03/19/2021, 16:31   #8
 
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 31
Quote:
Originally Posted by turk55 View Post
Sure, if you don’t mind data loss.
Well, you shouldn't lose data since it don't delete.
probably a bunch of duplicates.

There are other ways to do this, but it isn't as simple as press a button and go.
bashondegek is offline  
Old 03/19/2021, 19:08   #9
 
turk55's Avatar
 
elite*gold: 130
Join Date: Oct 2007
Posts: 1,655
Received Thanks: 706
Quote:
Originally Posted by bashondegek View Post
Well, you shouldn't lose data since it don't delete.
probably a bunch of duplicates.
Nope, you are merging 2 separate databases into a single one. The only stuff that could be duplicate are names, whether it be account usernames or character names.

All other data is unique aside from their identifier.

When I have 2 databases, both identifiers starting with the value of 1, the data in them are unique in both cases except that they both have the identifier value of 1.

In case of a database merge, when you start skipping records because 2 records have the same identifier, you are basically saying to not insert the unique data from one database.
turk55 is offline  
Old 03/19/2021, 23:29   #10
 
elite*gold: 0
Join Date: Mar 2007
Posts: 155
Received Thanks: 31
Quote:
Originally Posted by turk55 View Post
Nope, you are merging 2 separate databases into a single one. The only stuff that could be duplicate are names, whether it be account usernames or character names.

All other data is unique aside from their identifier.

When I have 2 databases, both identifiers starting with the value of 1, the data in them are unique in both cases except that they both have the identifier value of 1.

In case of a database merge, when you start skipping records because 2 records have the same identifier, you are basically saying to not insert the unique data from one database.
Ahh, i now understand what you mean.
Yep, you are right, haha.
bashondegek is offline  
Reply

Tags
databasehandler




All times are GMT +1. The time now is 05:01.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.