In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)B3 not connecting to DB
Pages: [1]   Go Down
  Print  
Author Topic: B3 not connecting to DB  (Read 638 times) Bookmark and Share
Newbie
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, Minecraft, R.I.P. AlterIWnet(COD6)
Posts: 6
Offline Offline
« on: October 16, 2011, 11:53:33 AM »

I have bought a VPS from admin hosting services(GrossKopf's vps) well it wont allow me to use port 80 for some reason on wampserver so i set it to 85 and put it in like so "<set name="database">mysql://b333:password@localhost:85/b3</set>" and this doesnt work for some reason. I have B3 working on my home hosted servers so why doesn't this work does it have to do with it using a different port? I tried making it use multiple different accounts none of that worked. I checked with my working b3 databases and and made them match still no luck.


Quote
111016 19:31:22   ERROR   'Database connection failed, working in remote mode: (2013, "Lost connection to MySQL server at \'reading initial communication packet\', system error: 0") - [(\'b3\\\\storage\\\\database.pyo\', 231, \'connect\', None), (\'b3\\\\storage\\\\database.pyo\', 176, \'getConnection\', None), (\'MySQLdb\\\\__init__.pyo\', 81, \'Connect\', None), (\'MySQLdb\\\\connections.pyo\', 188, \'__init__\', None)]'
111016 19:31:22   ERROR   'Error reading file 0'
Logged

Dev. Team
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD2,COD4,COD5
Posts: 1098
Offline Offline
« Reply #1 on: October 16, 2011, 11:57:37 AM »

Try leaving the port off, :80 is not the default for mysql,  its :3306.
Logged
Newbie
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, Minecraft, R.I.P. AlterIWnet(COD6)
Posts: 6
Offline Offline
« Reply #2 on: October 16, 2011, 12:25:39 PM »

Try leaving the port off, :80 is not the default for mysql,  its :3306.
lol i feel like a retard now =( thanks for the help. works now
Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #3 on: October 17, 2011, 06:37:13 AM »

lol i feel like a retard now =( thanks for the help. works now

Feel free to send in a support ticket to me next time you have any problems. I'm sure I can help with most B3 related issues. Smiley
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal