Jump to content
TrinityCore

Follow Tutorial => missing table


Vell
 Share

Recommended Posts

Hello,

I have some problems with database 3.3.5.

What i did :

create_mysql / auth_database / characters_database

Now i DL :  TDB_full_world_335.60_2015_11_07.sql

and i start  : 

world_2015_07_14_2015_11_07 => error

characters_2015_08_26_2015_11_03 => error

auth_2015_08_21 => error

all for missing table ..

However, i follow 2 tutorials ... and i can't follow it : https://trinitycore.atlassian.net/wiki/display/tc/Databases+Installation

Because :  unknown-macro?name=localtabgroup&locale=

 

Someone can help me to explain what i forgot. Thx

Sorry for my bad english

 

ps : I search and any time "apply update" That not work

Edited by Velyss
Link to comment
Share on other sites

I have just problem with .sql

so like i said, i created DB with  create_mysql + auth_database + characters_databaselike all tutorial said.

After that, all tutorial says : Apply TDB full 335, so i dowloaded last relaese : see in first topic.

And when i applyed that : 

 

world_2015_07_14_2015_11_07 => Erreur SQL (1146) : Table 'world.version' doesn't exist

characters_2015_08_26_2015_11_03 => Erreur SQL (1054) : Unknown column 'corpseGuid' in 'field list'

Link to comment
Share on other sites

You are not supposed to run the update files from the TDB download if you are creating a new DB.

Instead you only run the TDB full sql file to world database and then you run the updates from sql/updates/world which is located in the source you downloaded: https://github.com/TrinityCore/TrinityCore/tree/3.3.5/sql/updates/world

Far easier way of setting up the database is by using the new system that creates it for you.

  1. Delete existing databases
  2. make sure the database creation system is enabled (under UPDATE SETTINGS) and database settings are correct (under CONNECTIONS AND DIRECTORIES) in worldserver.conf
  3. Download TDB full and place the files to server folder (so the TDB full is next to the worldserver.exe)
  4. start worldserver.exe and press enter when it asks if you want to create databases
    • Note that if you get errors you may have deleted or moved the source folder that was used to compile the server.
      In that case you should download the source and set SourceDirectory to the source path under CONNECTIONS AND DIRECTORIES in worldserver.conf.
    • Otherwise check your mysql login credentials and read the error message as it may tell you what to do.
  5. once server is up you can start using it normally
Link to comment
Share on other sites

What you have imported are only update files. You don't need them.

Just import only the TDB_full_world_335.60_2015_11_07.sql

It creates a new full world DB.

To create the table structures of auth and character DB use the auth_database.sql and characters_database.sql in your sql/base/ folder of TC source code.

Use the autoupdate feature to update your DB.

Unfortunately I have to say with a defective wiki it's a hard job for a newbie to setup all the necessary stuff.

Link to comment
Share on other sites

Ok, so, i deleted all.

Updates.AutoSetup = 1

Updates.EnableDatabases = 7 (<=> ALL)

LoginDatabaseInfo     = "127.0.0.1;3306;trinity;trinity;auth"
WorldDatabaseInfo     = "127.0.0.1;3306;trinity;trinity;world"
CharacterDatabaseInfo = "127.0.0.1;3306;trinity;trinity;characters"

 

In HeidiSQL, i created a new user :

user name : trinity

user password : trinity

Privileges : ALL

 

Now, when i started worldserver :

Applying of file 'create_table.sql' to database 'auth' failed! If you are an user pull the latest revision from the repository. If you are a developer fix your sql query.
Failed to create database auth! Has the user `CREATE` priviliges?

DatabasePool Login NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors. Read wiki at http://www.trinitycore.info/display/tc/TrinityCore+Home
 

However user exist and privileges too ...

 

ps : In past, with wamp it was really simple ... now not really

Edited by Velyss
Link to comment
Share on other sites

And when i apply create_mysql and auth_database + characters_database

Worldserver : >> File "TDB_full_world_335.60_2015_11_07.sql" is missing, download it from "http://www.trinitycore.org/f/files/category/1-database/" and place it in your server directory.
Could not populate the World database, see log for details.

 

but in : https://github.com/TrinityCore/TrinityCore/tree/3.3.5/sql

I have no file named : TDB_full_world_335.60_2015_11_07.sql ....

 

And in : http://www.trinitycore.org/f/files/category/1-database/

There are no files ..

Edited by Velyss
Link to comment
Share on other sites

I try again but i download (.7z) it before, it contains : updates_tdb_33559_to_33560_only (folder) which contains :

auth_2015_08_21.sql

characters_2015_08_26_2015_11_03.sql

world_2015_07_14_2015_11_07.sql

not  TDB_full_world_335.60_2015_11_07.sql

 

And Source code zip = my source folder

I really don't understand ...

I have NO file named  TDB_full_world_335.60_2015_11_07.sql

Must i rename "world_2015_07_14_2015_11_07" in "TDB_full_world_335.60_2015_11_07.sql " ???

 

Link to comment
Share on other sites

Oh, i'm so sorry, i didn't see .... -.-

But now : worldserver : 

Database World is empty, auto populating it...
>> Applying 'TDB_full_world_335.60_2015_11_07.sql'...
Applying of file 'TDB_full_world_335.60_2015_11_07.sql' to database 'world' failed! If you are an user pull the latest revision from the repository. If you are a developer fix your sql query.
Could not populate the World database

 

Maybe one day that will work ><

Link to comment
Share on other sites

6 minutes ago, Velyss said:

Oh, i'm so sorry, i didn't see .... -.-

no problem, had the same problem 2 weeks ago when I tried to install WOD :-)

Are you sure you have correct SQL rights ? May try to add ANY new test database and a table manually with your sql client and your trinity user to check.

Link to comment
Share on other sites

That's ok !!!!

So : 

I applied TDB ... sql with HeidiSQL ... because with worldserver that didn't work.

AND ! after new error i renamed :

C:\Users\****\Desktop\Trinity\Source\sql\updates\auth

C:\Users\****\Desktop\Trinity\Source\sql\updates\characters

C:\Users\****\Desktop\Trinity\Source\sql\updates\world

 

to : 

C:\Users\****\Desktop\Trinity\Source\sql\updates\_auth

C:\Users\****\Desktop\Trinity\Source\sql\updates\_characters

C:\Users\****\Desktop\Trinity\Source\sql\updates\_world

 

And serv is up !!!

Thx Magnuss and Rochet2 ! ^^

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...