Authentication errror on Solaris 10 for MySQl 5.1 version.

 
Thread Tools Search this Thread
Top Forums Web Development MySQL DevZone RSS Authentication errror on Solaris 10 for MySQl 5.1 version.
# 1  
Old 09-07-2009
Authentication errror on Solaris 10 for MySQl 5.1 version.

Hi,

I have build one application which uses static reference of MySQL 4.0 old version library and dynamic reference of new version as MySQL 5.1 version library.
On Solaris
When I try to connect to MySQL server 5.1 using MySQL 5.1 library in application it always uses the old version library instead 5.1 library and I get the following error:

DataAccess: MySQL error: Client does not support authentication protocol requested by server; consider upgrading MySQL client; errno = 1251

On solaris 10 mahcine I have only installed MySQL 5.1. When I try to connect to MySQL server using mysql prompt it connects properly.

Also I have written one sample application which only uses the MySQL 5.1 library dynamic reference and trying to connect to Server 5.1. it connects successfully.

I wonder why in my Application it uses the old even I given or linked the new 5.1 version library.

Is there any compile time linking problem on Solaris or run time problem which does not allows like this mechanism or other else need to do to solve it?

Any help on this highly appreciated?
# 2  
Old 09-11-2009
when I use "mysqlclient.lib" (mysql 5.1.34) on windows in my code and trying to compile the code it gives error as:
mysqlclient.lib(trees.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(inftrees.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(aes.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(random.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(asn.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(md2.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(ctype-tis620.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(integer.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(misc.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(des.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(mf_loadpath.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(xml.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(ctype-ucs2.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(mf_qsort.obj) : error LNK2001: unresolved external symbol ___security_cookie
mysqlclient.lib(yassl_imp.obj) : error LNK2001: unresolved external symbol ___security_cookie

when I include "libmysql.lib" it is compile successfully. But for linking I need to have MySQL 5.1.34 version installed on machine to remote access of MySQL server or need to copy 'libmysql.dll".

I don't want to use libmysql.lib as I don't have to install or copy "dll".

So Is there any way to use "mysqlclient.lib" successfully.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

Disable or remove SNMPv1/2c authentication and SNMP version-3

Hi; How can I disable or remove SNMPv1/2c authentication. I would like to use SNMP version 3 authentication. bash-3.00# uname -a SunOS SOL9229 5.10 Generic_142910-17 i86pc i386 i86pc bash-3.00# (1 Reply)
Discussion started by: gc_sw
1 Replies

2. Solaris

How to read this Solaris version:-Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC?

Hi Guys, Could you please tell me how to read this Solaris version:- Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies

3. Solaris

upgrade solaris mysql version...

hi i need to upgrade my solaris mysql version.. can u guide me the upgrade steps.. my current version is 4.0.31-log i need to upgrade to 5.0 .. thanks.. ---------- Post updated at 12:04 PM ---------- Previous update was at 11:28 AM ---------- my solaris version is 10.. ----------... (2 Replies)
Discussion started by: senkerth
2 Replies

4. Web Development

Configurator for MySQL Cluster - version 2.9

I just listened to a fairly dry MySQL/Sun webinar about performance tuning MySQL clusters. One of the highlights of the presentation was the fact the MySQL team strongly advocated the use of this configuration tool: Configurator for MySQL Cluster - version 2.9 Check it out! (0 Replies)
Discussion started by: Neo
0 Replies

5. Solaris

MySQL Authentication errror 1251 on Solaris.

I am trying to connect to MySQL installed on windows from Solaris machine. While doing this getting error as: "Client does not support authentication protocol requested by server; consider upgrading MySQL client; errno = 1251" I have installed mysql-5.1.34-solaris10-sparc.tar.gz on... (1 Reply)
Discussion started by: amit_27
1 Replies

6. Shell Programming and Scripting

Perl compilation errror on Linux 9.0

Hi, I installed Perl 5.8.9 on Linux machine and when I complied Perl script.It give error like :- perl: relocation error: /opt/ActivePerl-5.8/lib/auto/IO/IO.so: undefined symbol: Perl_newXS_flags Please provide solution to this issue. Thanks in advance. (1 Reply)
Discussion started by: allways4u21
1 Replies

7. UNIX for Advanced & Expert Users

ppp errror message in logs

I am getting this message in the log file. Apr 29 15:32:02 router ppp: Warning: Label COPYRIGHT rejected -direct connection: Configuration label not found This repeats every so often, the link is up however...Any ideas why i am getting this. Its freebsd 6.1 and pppoE. Frank (1 Reply)
Discussion started by: frankkahle
1 Replies
Login or Register to Ask a Question