View Single Post
  #1  
Old 5th August 2008, 19:22
pakogah pakogah is offline
Member
 
Join Date: Feb 2008
Posts: 56
Thanks: 13
Thanked 2 Times in 2 Posts
Default MySQL5 client access to ISPConfig box vs plain centos5

I have ispconfig box which setup properly according Centos 5 Perfect Server Setup (has Mysql 5 in it) then I install ispconfig on it. and I have another box which I am only install mysql 5 also using Centos 5 (for test dbserver). here's is my problem:

I have user who still using old 2002 mysql-front (which I assumed still using libmysql library from mysql 3.23), he can access to mysql dbs at ispconfig box without problem, but then when tried to connect to test dbserver he can't.


error shows up:
Code:
MySQL-Error:
Connection failed:
1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client
he is using the same program, connect to both servers, which the servers' OS version are the same Centos 5, and they both have Mysql5. here are the mysql packages on both machines:
Code:
# rpm -qa | grep mysql
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-server-5.0.45-7.el5
mysql-connector-odbc-3.51.12-2.2
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
now then it take me to mysql configuration, but both machines also have the same config file, here are the content:
Code:
# cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
skip-innodb

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
I was curious, perhaps my test dbserver, unable to take login from user program because it dont have mysqlclient10 package/file but then when I check on my ispconfig box and via yum. there is no package/file called mysqlclient10 for centos5 (I have enabled centosplus repos'). so I am very positive there is must be some packages, files, or configuration which missing on my testdbserver but they all available/configured on ispconfig box.

when I am installing Centos 5 perfect server + ispconfig, i didn't notice some configuration / installing other packages for mysql which may required by ispconfig.

so please can you tell me, what do I miss on my plain Centos5 with mysql5 box? why I can't accessing it using the same program (mysql-front) which I can use it to another server running ispconfig (centos5 with mysql5)

thank you in advance for your time to take reply
Reply With Quote
Sponsored Links