BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: Foxy on January 01, 2009, 05:06:49 am

Title: Linux
Post by: Foxy 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
Title: Re: Linux
Post by: Temar on January 01, 2009, 11:26:58 am
the need the mysql extension for php
Title: Re: Linux
Post by: Foxy 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

Title: Re: Linux
Post by: Foxy 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

SimplePortal 2.3.7 © 2008-2024, SimplePortal