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

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

Author Topic: "MySQL has gone away"  (Read 1555 times)

0 Members and 1 Guest are viewing this topic.

Offline dioniz84

  • BeBot Rookie
  • *
  • Posts: 16
  • Karma: +0/-0
"MySQL has gone away"
« on: December 10, 2009, 09:24:52 am »
I get this error after random time of running bebot. The only change I did was to add !yg and !bound modules to the bot. But it's not the issue I think. Bot starst and even is working for some time. Then "ding" I get this msg: 'MySQL has gone away ...' . And the bot crashes after some time.

I run bebot on Ubuntu VPS and I have no ideahow to fix this. Any ideas??

Offline dioniz84

  • BeBot Rookie
  • *
  • Posts: 16
  • Karma: +0/-0
Re: "MySQL has gone away"
« Reply #1 on: December 11, 2009, 01:22:56 pm »
I give you more detail. Any info would be appreciated.

Code: [Select]
MySQL ERROR(# 37) on query: Unable to select database bebot Database not found or insufficient priviledges!
MySQL server has gone awayMySQL ERROR(# 38) on query: SELECT * FROM whois WHERE nickname = 'Anngua'
MySQL server has gone awayMySQL ERROR(# 39) on query: Unable to select database bebot Database not found or insufficient priviledges!
MySQL server has gone awayMySQL ERROR(# 40) on query: SELECT * FROM craftingclass WHERE name = 'Anngua'
MySQL server has gone awayMySQL ERROR(# 41) on query: Unable to select database bebot Database not found or insufficient priviledges!
MySQL server has gone awayMySQL ERROR(# 42) on query: INSERT INTO whois (id, nickname, level, class, craft1, craft2, location, online, updated) VALUES ('16888987', 'Anngua', '79', 'Ranger', '', '', 4507141, 1, '1260464832') ON DUPLICATE KEY UPDATE id = VALUES(id), level = VALUES(level), class = VALUES(class), craft1 = VALUES(craft1), craft2 = VALUES(craft2), online = VALUES(online), location = VALUES(location),  updated = VALUES(updated)
MySQL server has gone awayMySQL ERROR(# 43) on query: Unable to select database bebot Database not found or insufficient priviledges!
MySQL server has gone awayMySQL ERROR(# 44) on query: SELECT char_id FROM quinzi_users WHERE nickname = 'Anngua'

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: "MySQL has gone away"
« Reply #2 on: December 11, 2009, 02:14:42 pm »
What costume modules are you using?

Do the MySQL setup have default Ubuntu installation?
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

Offline dioniz84

  • BeBot Rookie
  • *
  • Posts: 16
  • Karma: +0/-0
Re: "MySQL has gone away"
« Reply #3 on: December 11, 2009, 03:29:32 pm »
I had :
!ginfo
!items - your's :)
!raidweapons
!skils - skills calculator
Was working perfectly.
I added:
!yg
!bound
!autogratz
I saw that !autogratz wasn't working at all. Was getting some errors so I removed it. The rest is fine, bot is starting., working for 5-15 min. and then "bum". MySQL goead down. Strange.

Offline Getrix

  • Contributor
  • *******
  • Posts: 509
  • Karma: +0/-0
Re: "MySQL has gone away"
« Reply #4 on: December 11, 2009, 03:47:37 pm »
Success is not final, failure is not fatal: it is the courage to continue that counts.
- Sorry, i dont have time to reply question on PM. Make a topic.

 

* Recent Posts
Com bot module by bitnykk
[November 25, 2024, 05:36:11 pm ]


0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


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


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

* Who's Online
  • Dot Guests: 212
  • 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