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: another error  (Read 1860 times)

0 Members and 1 Guest are viewing this topic.

Offline Galadriell

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
another error
« on: October 19, 2005, 05:21:52 am »
Ok. I finally figured out how to make a user, and did so. I got the AO extensions error, and removed

if(!extension_loaded("sockets"))
{
die("AOChat class needs the Sockets extension to work.\n");
}


from the AOchat.php.
Made all of the configurations. Put the php.exe and all the files included with it from this site in the same folder.

Created the database in mysql. Assigned everything to the user name I created. And now I get an error looking like this:

[Keine Verbindung zur Datenbank!] (Client does not support authentication protocol requested by server; consider upgrading MySQL client) Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in C:\Files\bebot\MySQL.php on line 36

Ive checked every thread on this forum, and found nothing that can help me. I see links sending me every which way, and when I get to the last link it doesnt help me at all because Im new to this:P so can someone plz help me?

I followed every step in the faq guide and in the guide that came with the bot

Offline Xenixa

  • Contributor
  • *******
  • Posts: 307
  • Karma: +0/-0
another error
« Reply #1 on: October 19, 2005, 07:48:41 am »
In short:

Inside the \MySQL\MySQL Server 4.1\my.ini file

make the lines below look like:

#Start without grant tables. This gives all users FULL ACCESS to all tables!
skip-grant-tables
#Use old password encryption method (needed for 4.0 and older clients).
#old-passwords
<<< Hack's in Zend Studio

All my Custom Bebot files may be Found Here <-clicky

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
another error
« Reply #2 on: October 20, 2005, 04:03:55 pm »
Alternatively, you need to get a hold of a php 4.x (preferably, i belive there might be some issues with php5 and bebot, not sure offhand) version that comes with an updated MySQL client library.

There was a client <-> server protocol change in MySQL 4.1. Clients older than 4.1.0 will not be able to understand the new protocol.
BeBot Founder and Fixer Kingpin

Offline Zacix

  • Contributor
  • *******
  • Posts: 73
  • Karma: +0/-0
another error
« Reply #3 on: October 20, 2005, 04:24:31 pm »
Did you execute this SQL:
UPDATE mysql.user SET Password = OLD_PASSWORD('newpwd')
WHERE Host = 'some_host' AND User = 'some_user';

FLUSH PRIVILEGES;

The error is probably because MySQL 4.1 and upwards has changed its password encryption or something. The above SQL should make it so it works like 4.0 again (which I think BeBot used when it first was developed).
Zacix
Current projects:
RINGBot, BeBot branch
Neutnet, RK2 Neutral massmessage network

 

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