Jump to content
  • 0

2 Different Sw In 1 Db


delamis

Question

Hi,

 

I just want to learn. How can i make 2 different server in one db?

For example;

Sw 1 : 150x no customs, different drop rates, etc etc

Sw 2: 150000x 5 custom sets, etc etc.

Thnx.

 

Edit: I'm using L2jFrozen (interlude) atm. but it is changin with projects? i think there is only one way to doin it, thats why i didnt wrote project :)

Edited by delamis
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

you can "Copy" you gameserver folder and rename it to gameserver2 for example, and you can set the one server as you want and the other one with different features but the login will be the same.

but you will need 2 databases in order to avoid problems.

Link to comment
Share on other sites

  • 0

but you will need 2 databases in order to avoid problems.

No. Just no.

 

Most people around here use MySQL, which only supports a single hardcoded DB (check information_schema*).

Even 'CREATE DATABASE' is implemented as an alias to 'CREATE SCHEMA'. In MySQL, no database is ever created in addition to the hardcoded one.

 

 

* - SQL92 specifies that 'table_catalog' contains the database name for the table:

SELECT table_catalog, table_name FROM information_schema.tables
Edited by _dev_
Link to comment
Share on other sites

  • 0

No. Just no.

 

Most people around here use MySQL, which only supports a single hardcoded DB (check information_schema*).

Even 'CREATE DATABASE' is implemented as an alias to 'CREATE SCHEMA'. In MySQL, no database is ever created in addition to the hardcoded one.

 

 

* - SQL92 specifies that 'table_catalog' contains the database name for the table:

SELECT table_catalog, table_name FROM information_schema.tables

i never did this, but i remember in the past (2k12) one friend of me did the same with packs (but i'm not sure about the db)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...