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: Noob question  (Read 7649 times)

0 Members and 1 Guest are viewing this topic.

Offline crazybama

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Noob question
« on: November 07, 2008, 03:24:21 am »
Hello,

 After I start the bot I get this error message. Any idea where I need to look?

Warning: mysql_connect(): Can't connect to MySQL server on 'localhost' (10061) i
n C:\Program Files (x86)\PHP\Sources\MySQL.php on line 124
MySQL error (# 0) on query: Cannot connect to the database server!
Can't connect to MySQL server on 'localhost' (10061)

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Noob question
« Reply #1 on: November 07, 2008, 03:58:54 am »
looks like you dont have a database running on the same machine as the bot

you need to install MySQL Database and have it running

Offline crazybama

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Noob question
« Reply #2 on: November 07, 2008, 04:22:36 am »
mysql is installed and running currently. I stopped and restarted the service succesfully. I am still getting the error message. Any ideas?

C:\Users\Corey>net stop mysql
The MySQL service is stopping..
The MySQL service was stopped successfully.


C:\Users\Corey>net start mysql
The MySQL service is starting.
The MySQL service was started successfully.

Offline Zacix

  • Contributor
  • *******
  • Posts: 73
  • Karma: +0/-0
Re: Noob question
« Reply #3 on: November 07, 2008, 10:16:43 am »
Open up port 3306 in your firewall? That's the default port anyway, if you changed it during installation it's something else.
Zacix
Current projects:
RINGBot, BeBot branch
Neutnet, RK2 Neutral massmessage network

Offline crazybama

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Noob question
« Reply #4 on: November 07, 2008, 03:54:26 pm »
Ok,

 After hours of working on the bot I have it up and running in Age of Conan. I am having another prolbem though. The guild chat commands are not working for me or the guild members. its like the bot is not seeing anything. What settings should I look at?

Offline crazybama

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Noob question
« Reply #5 on: November 07, 2008, 04:48:17 pm »
Ok I fixed the last post. How do I get error messages from showing in guild chat?

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Noob question
« Reply #6 on: November 07, 2008, 06:28:13 pm »
what do you mean?

Offline crazybama

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Noob question
« Reply #7 on: November 07, 2008, 06:34:52 pm »
For instance, If I want certain modules to respond to the guild member that posted the command to be in a tell vs. showing in the gild. If I type !roll 1 100 it shows an error in the guild. I would like to have that sent in a reply to the person who typed it in guild chat.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Noob question
« Reply #8 on: November 07, 2008, 07:20:13 pm »
that will prob require changes to the error system if it uses the error system, some module handle there own error in that case its the module that says were to send the error

Offline crazybama

  • BeBot Rookie
  • *
  • Posts: 10
  • Karma: +0/-0
Re: Noob question
« Reply #9 on: November 07, 2008, 08:05:36 pm »
Just what I was looking for. Thank you

 

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