MySQL5 client access to ISPConfig box vs plain centos5

Discussion in 'Installation/Configuration' started by pakogah, Aug 5, 2008.

  1. pakogah

    pakogah New Member

    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.
    :confused:

    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
    [COLOR="Red"]# Default to using old password format for compatibility with mysql 3.x
    # clients (those using the mysqlclient10 compatibility package).
    old_passwords=1[/COLOR]
    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) :confused:

    thank you in advance for your time to take reply
     
  2. pakogah

    pakogah New Member

    oke case closed, I have found the answer,
    after I change /etc/my.cnf on test-dbserver with
    Code:
    old-password=1
    I need to create a new user, then mysql will store the new user's password using old password format which readable by previous client (mysql 3.23 library) after that, you can use normally...

    but then it brings up a question. Mysql 5 already support stored procedure, views, sub-select etc, etc, which not available when mysql 3.23, can my old programs or dll which still using mysql 3.23 library take those advantages? I mean using sub-select, insert-select and perhaps read views table or running stored procedure??

    I know the old mysql-front 2.5 which created on 2002 wont be able to create views, stored procedure etc, but I think it can read view tables and execute stored procedure right ??

    please tell me your tought, this is the first time I am playing in reality using for in-house developing using delphi 5

    once again, thank you in advance for your time to take reply :)
     

Share This Page