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: MySQL Connect Error  (Read 2056 times)

0 Members and 1 Guest are viewing this topic.

Offline ascensionc

  • BeBot Rookie
  • *
  • Posts: 1
  • Karma: +0/-0
MySQL Connect Error
« on: August 03, 2010, 10:08:26 pm »
Not sure if this is the right place to put this so if it's not my apologies.

I followed the wiki to installing BeBot, few things went wrong in my installation I guess.  I changed the PHP scripts like instructed, and installed MySQL the way instructed.  I open the CMD promt and start the bot, it starts out saying...

Curl extension loaded

Then it takes some time to load, eventually continues to say,

Warning: mysq_connect(): [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) in C:\BeBot\sources\mysql.php on line 129.

It goes on to say,

MySQL ERROR (#1) Can not connect to the database server at localhost as user myusernamehere@localhost!



Another thing weird is the bot launch comes up as I'm running a 32 bit system when I have a 64 bit system.  I'm running win7 so I didn't install the bot files or php into program files.  I figure it is possibly something because of win7 that its catching a snag somewhere in accessing the DB.  Can anyone halp?

Offline Yite

  • BeBot Apprentice
  • ***
  • Posts: 152
  • Karma: +0/-0
    • Niflheim - Crom
Re: MySQL Connect Error
« Reply #1 on: August 04, 2010, 09:48:53 am »
MySQL ERROR (#1) Can not connect to the database server at localhost as user myusernamehere@localhost!
You will need to specify the values that are correct for your SQL server in the conf/MySQL.conf file

So referring to the wiki (http://bebot.link/wiki/installation) in Phase 5 you need to edit the MySQL.conf file and put in the values you used at Phase 4
-Yite [Crom]

 

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