Raised This Month: $ Target: $400
 0% 

MySQL auth errors...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
geekforce
Junior Member
Join Date: Oct 2005
Old 10-22-2005 , 14:06   MySQL auth errors...
Reply With Quote #1

Cant find any info on this... I think i know what is causing the error, but other db plugins work :S

So.. i've got mysql 4.1.x.. and when i try to:
Code:
new Sql:g_sql;

public sql_connect()
{
	new Error[256];
	
	g_sql = dbi_connect(SQL_HOST, SQL_USER, SQL_PASS, SQL_NAME, Error, 255);
	
	if (g_sql <= SQL_FAILED)
	{
		server_print("[NW] %L", LANG_SERVER, "SQL_CANT_CON", Error);
	}
	...
}
i get some error saying i should update my client (amx mysql thingy i guess)... wondering how to enable support for 4.1.x.. thx

Code:
L 10/22/2005 - 19:16:19: [MYSQL] DB Connection failed(1251): Client does not support authentication protocol requested by server; consider upgrading MySQL client
[NW] SQL error: can't connect: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client'
L 10/22/2005 - 19:16:19: [AMXX] Run time error 10 (native) (plugin "naturalworld.amxx") - debug not enabled.
L 10/22/2005 - 19:16:19: [MYSQL] Invalid database handle -11
L 10/22/2005 - 19:16:19: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without quotes).
L 10/22/2005 - 19:16:19: [AMXX] Run time error 10 (native) (plugin "naturalworld.amxx") - debug not enabled.
L 10/22/2005 - 19:16:19: [MYSQL] Invalid result handle -6
L 10/22/2005 - 19:16:19: [AMXX] To enable debug mode, add " debug" after the plugin name in plugins.ini (without
-- GeekFOrce
__________________
C# allows you to shoot yourself in the foot rather easy, C++ allows you to reuse the bullet.
geekforce is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode