25toten
Plebs-
Posts
6 -
Joined
-
Last visited
Everything posted by 25toten
-
Database Installation Step - Confused on what to do
25toten replied to 25toten's topic in Help and Support
Thank you Dane! > What does it mean to execute the following query? Okay, literally all you have to do is copy paste this text into the command prompt for mysql: https://github.com/TrinityCore/TrinityCore/blob/3.3.5/sql/create/create_mysql.sql I wish the guide would've said that. I figured that out by a random guess. I feel dumb for not having figured that out sooner. As long as the TBD_world file is in the folder worldserver.exe is, after pasting that text into CMD, run worldserver.exe and it will do its thing automatically. -
Hello, I'm new to setting this up and have never used any of these programs before. I've been successful so far following the guide. https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130092/Databases+Installation I'm at a dead still with the Database Installation page. The terms are fairly ambiguous to someone who barely has any idea what they're doing. I've looked all over this site for a more detailed set of instructions. I'm setting up the 3.3.5a build. Could someone please explain a few of these steps in more detail? Creating the Trinity databases in MySQL To create the MySQL databases needed by Trinity, you need to execute the following MySQL queries: For 3.3.x: https://github.com/TrinityCore/TrinityCore/blob/3.3.5/sql/create/create_mysql.sql For 6.x and 7.x: https://github.com/TrinityCore/TrinityCore/blob/master/sql/create/create_mysql.sql You can perform this with a MySQL client or with the MySQL command-line interface (CLI). >What does it mean to execute the following query? You would need to use one MySQL root account before starting core to run one of those files (use MySQL root only to import one of those files, never run core as root or administrator). TIP: edit those 2 files and change default password to something else for increased security (remember to edit conf files to use new password). >What files are they referring to? Trinity needs three databases to run at 3.3.5 branch and four for master - Auth, Characters, World and hotfixes (master only): auth - holds account data - usernames, passwords, GM access, realm information, etc. characters - holds character data - created characters, inventory, bank items, auction house, tickets, etc. world - holds game-experience content such as NPCs, quests, objects, etc hotfixes (master only) - holds fixes not already added to the core or other official databases. >These links goes to sites that have nothing meaningful on them. Unsure what this step is all about. Populating the MySQL Trinity databases From the unpacked 7z folder copy the SQL files that start with "TDB_world_" and "TDB_hotfixes_" (6.x branch only) to the directory where your worldserver binary is (DON'T RENAME THOSE FILES OR AUTOMATIC SETUP WILL FAIL). >I put the TDB_world.sql file in the .../bin folder where worldserver.exe is. I ran it with heidiSQL and am not sure if that is all I was suppose to do? I'm assuming worldserver binary means worldserver.exe? NOTICE: you don't need to import any databases, only the file creating users. If you have plans to import databases manually you need to disable autoupdater on config files. If you have plans to change default mysql usernames and passwords make sure you have set valid database login information and the table names you want to use in the same config files (authserver/bnetserver/worldserver.conf) under "CONNECTIONS AND DIRECTORIES". Notice that the databases are not created yet. The names you set in the config will be used for the created databases. Start worldserver and press enter when it asks if you want to create databases. >Currently worldserver.exe will immediately close when I open it, claiming the default password "yes" isn't correct. I presume thats because I didn't do some of the above steps. Thanks in advance for any clarification. I'm a super noob to all this.
-
I quite literally just did this on my own, I was going to update this saying so. Thank you though! I got it working.
-
I fixed MYSQL and got the 5.6 version (accidentally got 8.0 previously). Reinstalled the entire Core + Build and everything worked without error. Now I'm missing the authserver.exe files (trying to do 3.3.5a). Everything else is in there. I tried searching the forums for any similar issue but couldn't find anything. I've no idea why it is missing if everything else worked flawlessly. However, I do notice the last line on VS says "build 26 successful"; the installation guide says the number should be 22. No idea if that's relevant, I for certain selected the 3.3.5 branch from github: https://github.com/TrinityCore/TrinityCore/tree/3.3.5 Can any beautiful person lend a hand? I appreciate it greatly! Edit 1*: It seems like somehow the legion client got installed even though I specifically copied the 3.3.5 link into gitclone. Weird. Reattempting again with a fresh install. Edit 2*: Did a fresh reinstall using this github link: https://github.com/TrinityCore/TrinityCore.git - it still downloaded the legion client. What the hell? Can someone provide the correct github source link to clone the files from? How do I get it to install the WOTLK version? I'm going bonkers over this lol.
-
Thank you gentlemen for the assistance! Never would've guessed that was the matter.
-
Hello, first time installer here. I've followed all steps and have been successful so far, up until running the code on microsoft visual studio. Following the guide, this is where I'm not lining up / am stuck at now. I've 19 / 3 / 0/ 0. ========== Build: 22 succeeded, 0 failed, 0 up-to-date, 1 skipped ========== https://trinitycore.atlassian.net/wiki/spaces/tc/pages/10977329/Windows+Core+Installation There appears to be some sort of issue with visual studio "cannot input file ..\database\release\database.lib Cmake had no issues generating + configuring. I'm clearly missing the worldserver.exe / a few other files in the ...build/bin/release folder. Could anyone please help me out? Not sure how to fix this.