Archive > AO 0.6 support

Linux

(1/1)

Foxy:
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

Temar:
the need the mysql extension for php

Foxy:
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: ---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     

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

--- End code ---
then


--- Code: ---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)

--- End code ---

but password in conf is same as one in mysql database

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

Foxy:
fixed it

But to let others know just incase

i needed to add Localhost to bebot in Mysql admin

Navigation

[0] Message Index

Go to full version