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 Connection error  (Read 2223 times)

0 Members and 1 Guest are viewing this topic.

Offline Night

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
MySQL Connection error
« on: May 23, 2010, 01:30:04 pm »
Not sure if this is the right place, or if its been posted already but I need help. Here is the error I get;
         
An Anarchy Online Chat Automaton

                     And

          An Age of Conan Chat Automaton

         v.0.6.8 - PHP 5.3.2

                 OS: Windows_NT

        Your operating system is detected as 32bit

===================================================

Curl extension loaded

Warning: mysql_connect(): [2002] A connection attempt failed because the connect
ed party did not  (trying to connect via tcp://localhost:3306) in C:\BeBot\Sourc
es\MySQL.php on line 129

Warning: mysql_connect(): A connection attempt failed because the connected part
y did not properly respond after a period of time, or established connection fai
led because connected host has failed to respond.
 in C:\BeBot\Sources\MySQL.php on line 129
MySQL ERROR(# 1) on query: Cannot connect to the database server at localhost as
 user night!
A connection attempt failed because the connected party did not properly respond
 after a period of time, or established connection failed because connected host
 has failed to respond.


Thanks for the help in advance

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: MySQL Connection error
« Reply #1 on: May 23, 2010, 02:09:41 pm »
Try changing localhost to 127.0.0.1 in MySQL.conf and make sure that MySQL is actually running.

Basically the bot was unable to connect to the MySQL server.
BeBot Founder and Fixer Kingpin

Offline Night

  • BeBot Rookie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: MySQL Connection error
« Reply #2 on: May 28, 2010, 10:03:44 am »
Yeah that fixed it :) Thanks

 

* 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: 225
  • 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