Jump to content
TrinityCore

Regist

Plebs
  • Posts

    14
  • Joined

  • Last visited

Everything posted by Regist

  1. Had been messing around with my.cnf for ages trying to get it to work.... changed the bind address to various things but never thought to comment it out! It works perfectly! Would like to know a bit more about why exactly I had to comment it out and what that line does however...? Seeing as the understanding of it I have is obviously flawed Solved anyway, thanks so much <33333333333
  2. Unfortunately im connecting fine on 3306 from my local pc using a mysql client. No idea what to do now. Anyone else maybe have any clues? Could some settings during compile have caused this? Could this be anything to do with... er... anything during compile? Im at a loss really. Still cant get any more information from the logs, anyone around who knows how to set them up to log something useful?
  3. Cheers Aokromes; wish that was what was causing my problem but I very much doubted that fixing the error would do anything for my problem and thats why I didnt sort it before posting the log. Anyway, fixed now and now I get the same output without the error: Using configuration file /usr/local/etc/worldserver.conf. Using SSL version: OpenSSL 1.0.1 14 Mar 2012 (library: OpenSSL 1.0.1 14 Mar 2012) Using ACE version: 6.0.0 TrinityCore rev. 2012-08-31 14:48:10 -0500 (a8d514914be2+) (Unix, Release) (worldserver-daemon) <Ctrl-C> to stop. ______ __ /\__ _\ __ __/\ \__ \/_/\ \/ _ __ /\_\ ___ /\_\ \, _\ __ __ \ \ \/\`'__\/\ \ /' _ `\/\ \ \ \/ /\ \/\ \ \ \ \ \ \/ \ \ \/\ \/\ \ \ \ \ \_\ \ \_\ \ \ \_\ \_\ \ \_\ \_\ \_\ \_\ \__\\/`____ \ \/_/\/_/ \/_/\/_/\/_/\/_/\/__/ `/___/> \ C O R E /\___/ http://TrinityCore.org \/__/ Could not connect to MySQL database at 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111) Could not connect to MySQL database at 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111) Cannot connect to world database 127.0.0.1;3306;HIDDEN;HIDDEN;world No idea what to do; I would try and mess with mysql a bit more - however, my remote clients are detecting the mysql server just fine so I doubt this is due to the mysql server not being visible or something. So; if there's any more elements of the core that influence the mysql connection I can check or fiddle with id be incredibly pleased if someone could point it out. Id also highly appreciate anything that could help with the logging settings so that SQLDriver.log maybe tells me something other than to.... check SQLDriver.log... Thanks a lot for the help so far anyway guys Oh, forgotten I hadn't posted any of my .conf files in regards to the whole logging system; here's the pieces I can infer that regard my issue. Haven't changed authserver in any way that impacts logging - not sure if there's anything I can do there. Worldserver.conf looks a bit like this: Appender.SQLDriver=2,2,7,SQLDriver.log (Note ive changed LogLevel in the above between a bunch of different settings and its produced the same output - dont entirely understand it all) Appenders=Console Server GM Char RA Warden DBErrors Chat SQLDriver ... Logger.SQLDriver=36,5,SQLDriver ... Loggers=Root Chat DBErrors GM RA Warden Character Load WorldServer Opcodes SQLDriver Think thats all that effects my issue...
  4. Alright, I realise you get support threads about this topic every single day. Typically this is something id easily be able to solve on my own, but thanks to Spp building that lovely new logging system and refusing to revert it; all my logs are broken despite setting them up to the best of my ability. Ive compiled on windows over the past few months very successfully on a heap of different commits, compiled on Debian as of two years ago. Everything's usually fine. This time we're trying it on Ubuntu 12.04 LTS 64-bit. MySQL server is running on the same box fine and im connecting to it no problem remotely from heidi and querying it no problem. The World/Auth/Character databases are exported from a mysql server running on windows - don't think this should have been a problem. I also believe ive applied all the updates; I checked the updates folder in the older source I previously was using on the windows server then checked the updates folder in the mmaps source id pulled onto the ubuntu server and simply applied any ones that didnt exist in the older source in order to hopefully catch all the "new" updates. Created a new mysql user with all privileges and a password I was certain of; made sure it was correct in the configs. Cant think of much else I can do, however; every time I go to start authserver, it fails to start. Can only manage to get it to log Auth.log which gives the output: TrinityCore rev. 2012-08-31 14:48:10 -0500 (a8d514914be2+) (Unix, Release) (authserver) <Ctrl-C> to stop. Using configuration file /usr/local/etc/authserver.conf. OpenSSL 1.0.1 14 Mar 2012 (Library: OpenSSL 1.0.1 14 Mar 2012) Opening DatabasePool 'auth'. Asynchronous connections: 1, synchronous connections: 1. Could not connect to MySQL database at 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111) Could not connect to MySQL database at 127.0.0.1: Can't connect to MySQL server on '127.0.0.1' (111) DatabasePool auth NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors. Unable to get SQLDriver.log to log for authserver so I thought I might try to get it to log for worldserver, on starting worldserver im getting, for Server.log; Using configuration file /usr/local/etc/worldserver.conf. Using SSL version: OpenSSL 1.0.1 14 Mar 2012 (library: OpenSSL 1.0.1 14 Mar 2012) Using ACE version: 6.0.0 TrinityCore rev. 2012-08-31 14:48:10 -0500 (a8d514914be2+) (Unix, Release) (worldserver-daemon) <Ctrl-C> to stop. ______ __ /\__ _\ __ __/\ \__ \/_/\ \/ _ __ /\_\ ___ /\_\ \, _\ __ __ \ \ \/\`'__\/\ \ /' _ `\/\ \ \ \/ /\ \/\ \ \ \ \ \ \/ \ \ \/\ \/\ \ \ \ \ \_\ \ \_\ \ \ \_\ \_\ \ \_\ \_\ \_\ \_\ \__\\/`____ \ \/_/\/_/ \/_/\/_/\/_/\/_/\/__/ `/___/> \ C O R E /\___/ http://TrinityCore.org \/__/ In mysql_stmt_prepare() id: 58, sql: "SELECT c.country FROM ip2nationCountries c, ip2nation i WHERE i.ip < ? AND c.code = i.country ORDER BY i.ip DESC LIMIT 0,1" Table 'world.ip2nationCountries' doesn't exist Cannot connect to world database 127.0.0.1;3306;USER-HIDDEN;PASSWORD-HIDDEN;world And all I can force SQLDriver.log to give me is: 2012-09-03_19:14:32 ERROR [SQL DRIVER] DatabasePool world NOT opened. There were errors opening the MySQL connections. Check your SQLDriverLogFile for specific errors. Which is rather hilarious if im honest... Anyway. If anyone can give me any ideas as to why this might not be working or could advise me on how to give the bastardised logger system the kick it needs to give me more information - don't hesitate. Given up now - at a loss as to what to do.
×
×
  • Create New...