Jump to content
TrinityCore

[SOLVED]Create Database with different name


mahdishahidi
 Share

Recommended Posts

tc is getting those database names from worldserver.conf, change the world to world3.3.5

worldserver.conf.dist:LoginDatabaseInfo     = "127.0.0.1;3306;trinity;trinity;auth"
worldserver.conf.dist:WorldDatabaseInfo     = "127.0.0.1;3306;trinity;trinity;world"
worldserver.conf.dist:CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters"

example (ignore socks)


worldserver.conf:LoginDatabaseInfo     = ".;/var/run/mysqld/mysqld.sock;wow;xxxx;tc_335_auth"
worldserver.conf:WorldDatabaseInfo     = ".;/var/run/mysqld/mysqld.sock;wow;xxxx;tc_335_world"
worldserver.conf:CharacterDatabaseInfo = ".;/var/run/mysqld/mysqld.sock;wow;xxxx;tc_335_characters"

  • Upvote 1
Link to comment
Share on other sites

Glad that worked,

I guess for posterity, the the custom database names (such as "tc_335_world") still need grant statements associated with them "GRANT ALL PRIVILEGES ON tc_335_world.* TO 'wow' WITH GRANT OPTION;", but after that everything should be smooth with the modern build system out of the box.

Cheers

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...