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: Linux  (Read 3149 times)

0 Members and 1 Guest are viewing this topic.

Offline Foxy

  • BeBot User
  • **
  • Posts: 37
  • Karma: +0/-0
Linux
« on: January 01, 2009, 05:06:49 am »
Hi just installed ubuntu and cant seem to get bot working

run bot ok but says
MySQL support required to run this bot


any idea what i  can do

php5 and mysql installed

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Linux
« Reply #1 on: January 01, 2009, 11:26:58 am »
the need the mysql extension for php

Offline Foxy

  • BeBot User
  • **
  • Posts: 37
  • Karma: +0/-0
Re: Linux
« Reply #2 on: January 01, 2009, 02:01:31 pm »
i think it was because i copied the folder from windows so it had php.ini in bot folder

so i re-downloaded
added to new folder
copied over the conf files

ran bot in a screen

got

Code: [Select]
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/msql.so' - /usr/lib/php5/20060613+lfs/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
w

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

    _/_/_/              _/_/_/                _/   

   _/    _/    _/_/    _/    _/    _/_/    _/_/_/_/

  _/_/_/    _/_/_/_/  _/_/_/    _/    _/    _/     

 _/    _/  _/        _/    _/  _/    _/    _/     

_/_/_/      _/_/_/  _/_/_/      _/_/        _/_/   

         An Anarchy Online Chat Automaton         

                     And                           

          An Age of Conan Chat Automaton           

             v.0.6.1 - PHP 5.2.6-2ubuntu4     

===================================================
then

Code: [Select]
Warning: mysql_connect(): Access denied for user 'bebot'@'localhost' (using password: YES) in /home/ecserv/Desktop/onevision/Sources/MySQL.php on line 124
MySQL error (# 0) on query: Cannot connect to the database server!
Access denied for user 'bebot'@'localhost' (using password: YES)

but password in conf is same as one in mysql database

added    extension=msql.so  into php.ini   in /etc/php5/cli

« Last Edit: January 01, 2009, 02:41:07 pm by Foxy »

Offline Foxy

  • BeBot User
  • **
  • Posts: 37
  • Karma: +0/-0
Re: Linux
« Reply #3 on: January 01, 2009, 02:50:31 pm »
fixed it

But to let others know just incase

i needed to add Localhost to bebot in Mysql admin


 

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