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

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

Author Topic: Mysql Error  (Read 1869 times)

0 Members and 1 Guest are viewing this topic.

Offline Equinox

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Mysql Error
« on: June 23, 2009, 04:07:47 pm »
Hi,

i installed Mysql Server on an Debian System and createt a Database.
than i added this Database and User in the mysql.conf of the Bot and startet the bot.
After 30Minutes the BeBot goes down and if i want to restart comes this

Quote
MySQL error (# 0) on query: UPDATE online SET reinvite = '0' WHERE botname = 'helferlein' AND status_pg = '0'
MySQL server has gone away
MySQL error (# 0) on query: Database not found or insufficient priviledges!
MySQL server has gone away
MySQL error (# 0) on query: SELECT * FROM helferlein_string_filter
MySQL server has gone away
MySQL error (# 0) on query: Database not found or insufficient priviledges!
MySQL server has gone away
MySQL error (# 0) on query: SELECT alias, nickname, main FROM alias
MySQL server has gone away
helferlein [SETTINGS]   [ERROR] The setting named notify_delay for setting group logon_notifies does not exisit.
MySQL error (# 0) on query: Database not found or insufficient priviledges!
MySQL server has gone away
MySQL error (# 0) on query: UPDATE helferlein_raid_points SET raiding = 0
MySQL server has gone away
helferlein [SETTINGS]   [ERROR] The setting named autoinvite for setting group relay does not exisit.
helferlein [SETTINGS]   [ERROR] The setting named reconnect for setting group irc does not exisit.
..
..
..
..
MySQL error (# 0) on query: SELECT * FROM craftingclass WHERE name = 'Azucai'
MySQL server has gone away
MySQL error (# 0) on query: Database not found or insufficient priviledges!
MySQL server has gone away
MySQL error (# 0) on query: INSERT INTO whois (id, nickname, level, class, craft1, craft2, location, online, updated) VALUES ('117527405', 'Azucai', '80', 'Demonologist', '', '', 1025254, 1, '1245768554') 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 away
helferlein [SETTINGS]   [ERROR] The setting named usealts for setting group security does not exisit.
helferlein [SETTINGS]   [ERROR] The setting named guestinchannel for setting group security does not exisit.
MySQL error (# 0) on query: Database not found or insufficient priviledges!
MySQL server has gone away
MySQL error (# 0) on query: SELECT char_id FROM helferlein_users WHERE nickname = 'Azucai'
MySQL server has gone away
helferlein [SETTINGS]   [ERROR] The setting named usealts for setting group security does not exisit.
..
..
..
..

the bot restarts and the same
« Last Edit: June 23, 2009, 04:11:26 pm by Equinox »

Offline Glarawyn

  • BeBot Hero
  • ******
  • Posts: 521
  • Karma: +0/-0
Re: Mysql Error
« Reply #1 on: June 23, 2009, 11:03:09 pm »
Did you install any Debian updates via apt-get? Debian's package system will automatically restart MySQL for you if it's required.

BeBot doesn't close the lost MySQL connection and start a new one, only restarting the bot does that.

Make sure MySQL is running (/etc/init.d/mysql restart) then restart the bot.

 

* Recent Posts
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 ]


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

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