BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => AO 0.6 support => Topic started by: Neznanec on June 02, 2010, 01:00:22 am

Title: php.ini file
Post by: Neznanec on June 02, 2010, 01:00:22 am
I read whole documentation on Bebot wiki and only think I dont understand is this php.ini file part.

"The last thing we need now is a php.ini file containing some PHP settings. You can use the following php.ini as a starting point: "
then there is text below.

how do I make this file or where to find it. its kinda important because bot just cant access phpext folder in which are sockets and few other things.

Only thing that bothering me :D and its so damn important for bot to start.
Title: Re: php.ini file
Post by: Neznanec on June 03, 2010, 01:35:08 am
well I managed to reapir that :)    but now it loads Curl extension but then nothing happens for 2-3 mins then it says

        Your operating system is detected as 32bit

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

Curl extension loaded

Warning: mysql_connect(): [2002] A connection attempt failed because the connected party did not  (trying to conn
ect via tcp://localhost:3306) in C:\Users\Gosak\Desktop\BeBot\Sources\MySQL.php on line 129

Warning: mysql_connect(): A connection attempt failed because the connected party did not properly respond after
a period of time, or established connection failed because connected host has failed to respond.
 in C:\Users\Gosak\Desktop\BeBot\Sources\MySQL.php on line 129
MySQL ERROR(# 1) on query: Cannot connect to the database server at localhost as user gosak!
A connection attempt failed because the connected party did not properly respond after a period of time, or estab
lished connection failed because connected host has failed to respond.

C:\Users\Gosak\Desktop\BeBot>pause
Press any key to continue . . .




but I am sure that I have set up the database.
Title: Re: php.ini file
Post by: Neznanec on June 03, 2010, 01:40:52 am
C:\Users\Gosak>mysqlshow -u root -p
Enter password: ******
+--------------------+
|     Databases      |
+--------------------+
| information_schema |
| gosak              |
| mysql              |
| s8gh9a             |
| test               |
+--------------------+



databases I created and gosak is one of them.
Title: Re: php.ini file
Post by: Ixiaan on June 04, 2010, 10:19:55 pm
Quote
Cannot connect to the database server at localhost as user gosak!

Make sure the gosak SQL user has permissions to modify whichever SQL database you are using. In your previous post you loged on as root, you should do mysql -u gosak -p to check the permissions.
SimplePortal 2.3.7 © 2008-2025, SimplePortal