collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: SQL Error  (Read 2352 times)

0 Members and 1 Guest are viewing this topic.

Offline Dontask

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
SQL Error
« on: May 07, 2008, 01:43:41 am »
Warning: mysql_connect(): Lost connection to MySQL server at 'reading authorizat
ion packet', system error: 2 in C:\Documents and Settings\Administrator\Desktop\
0.5.0\0.5.0\Sources\MySQL.php on line 122
MySQL error (# 0) on query: Cannot connect to the database server!

I'm getting that every few minutes. .4 worked completely fine, never a single SQL error... and it's the same database.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: SQL Error
« Reply #1 on: May 07, 2008, 02:29:44 am »
I will second that error but I dont watch it for 4 mins.. If I do a restart it will have a few of those, then if you do another restart after that one.. you see nothing but this.

Code: [Select]
rsbot [ROSTER]  [UPDATE]        Roster update complete. Added 6 members and remo
ved 3 of which 3 was rerolled.

Warning: mysql_connect(): Can't connect to MySQL server on 'localhost' (10048) i
n C:\aobots\bebot test\Sources\MySQL.php on line 122
MySQL error (# 0) on query: Cannot connect to the database server!

rsbot [SETTINGS]        [SAVED] LastRosterUpdate for module members set to 12101
19923 as datatype int
rsbot [ROSTER]  [UPDATE]        Roster update complete. Added 0 members and remo
ved 0 of which 0 was rerolled.
« Last Edit: May 07, 2008, 02:33:59 am by Nytridr »
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Dontask

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: SQL Error
« Reply #2 on: May 07, 2008, 02:32:04 am »
What I meant was version .4 worked fine. I wasn't referring to minutes.

Furthermore, it is taking FOREVER to load up. When I say forever... I click on the .bat file and 20 minutes later it's functioning normally.
« Last Edit: May 07, 2008, 02:34:57 am by dontask »

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: SQL Error
« Reply #3 on: May 07, 2008, 02:36:53 am »
What are you running?

PHP Version?
Mysql version?
If you have any custom files have you tried to start it up with out them in the mix?
« Last Edit: May 07, 2008, 02:38:36 am by Nytridr »
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Dontask

  • BeBot Rookie
  • *
  • Posts: 8
  • Karma: +0/-0
Re: SQL Error
« Reply #4 on: May 07, 2008, 05:24:02 am »
No custom files... but I reinstalled EVERYTHING... including php... sql....all bot files.... etc and it seems to be working.

Offline Nytridr

  • BeBot Expert
  • ****
  • Posts: 262
  • Karma: +0/-0
    • Rising Sun
Re: SQL Error
« Reply #5 on: May 07, 2008, 05:46:22 am »
very good to hear.. yea I had to actually do that a while back also, something got corrupted or something.. (or I messed with the wrong thing and didnt realize the impact of it..)  good to hear ya got it..
Co-Prez of Rising Sun RK1 (1st & only org I will ever belong to)

Offline Blueeagle

  • Omnipotent
  • BeBot Hero
  • ******
  • Posts: 323
  • Karma: +0/-0
Re: SQL Error
« Reply #6 on: May 07, 2008, 05:15:09 pm »
The only problem that can't be solved by adding another wrapper is having too many wrappers.

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 666
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal