Jump to content
  • 0

local host server - mysql database


Nebgama

Question

Hey just wondering if someone could point me in the right direction as iam all out of ideas, and have searched google to no avail.

 

My problem is iam trying to setup a test server on my pc so i can test additions/scripts before actually implemented them into my proper server, as to minimize down time for my players. it seems like everything is going well untill i get to the "authentication" part ingame and then the server closes with the "arma2oaserver.exe has stopped responding" message.

 

iam seeing this in the HiveExt.log :

 

2014-05-18 11:11:33 HiveExt: [information] HiveExt

2014-05-18 11:11:33 Database: [information] Connected to MySQL database localhost:0/ client ver: 5.5.28 server ver: 5.6.16

2014-05-18 11:11:33 Database: [information] Connected to MySQL database localhost:0/ client ver: 5.5.28 server ver: 5.6.16

2014-05-18 11:11:33 HiveExt: [information] Method: 302 Params: 11:
2014-05-18 11:11:33 Database: [Error] Error 1046 (No database selected) in MySQLQuery SQL: 'SELECT COUNT(*) FROM `Object_DATA` WHERE `Instance` = 11 AND `ObjectUID` <> 0 AND `CharacterID` <> 0 AND `Datestamp` < DATE_SUB(CURRENT_TIMESTAMP, INTERVAL 6 DAY) AND ( (`Inventory` IS NULL) OR (`Inventory` = '[]') )'
2014-05-18 11:11:33 Database: [Error] Error 1046 (No database selected) in MySQLQuery SQL: 'SELECT `ObjectID`, `Classname`, `CharacterID`, `Worldspace`, `Inventory`, `Hitpoints`, `Fuel`, `Damage` FROM `Object_DATA` WHERE `Instance`=11 AND `Classname` IS NOT NULL'
2014-05-18 11:11:33 HiveExt: [Error] Failed to fetch objects from database
2014-05-18 11:11:33 HiveExt: [information] Result: ["ObjectStreamStart",0,"af7bd8ea192a1955e97188f046afdad4"]
2014-05-18 11:11:33 HiveExt: [information] Method: 399 Params: 478:
2014-05-18 11:11:33 Database: [Error] Error 1046 (No database selected) in MySQLQuery SQL: 'SELECT `id`, `item`, `qty`, `buy`, `sell`, `order`, `tid`, `afile` FROM `Traders_DATA` WHERE `tid`=478'

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Make sure you have your instance folder set up correctly. The hive.ini file needs to have the correct database name, user and password. Also make sure you have set up the database correctly. Run the Epoch sql given in the server files for the database you are setting up.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...