MySQL upgrade / phpinfo()

Discussion in 'Server Operation' started by jautukas87, Sep 17, 2008.

  1. jautukas87

    jautukas87 New Member

    Code:
    JTP003:~# apt-get install mysql-server mysql-client libmysqlclient15-dev
    Reading package lists... Done
    Building dependency tree... Done
    libmysqlclient15-dev is already the newest version.
    The following NEW packages will be installed:
      mysql-client mysql-server
    0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
    Need to get 93.9kB of archives.
    After unpacking 164kB of additional disk space will be used.
    Get:1 ftp://85.17.159.15 etch/main mysql-client 5.0.32-7etch6 [45.9kB]
    Get:2 ftp://85.17.159.15 etch/main mysql-server 5.0.32-7etch6 [48.0kB]
    Fetched 93.9kB in 0s (380kB/s)
    Selecting previously deselected package mysql-client.
    (Reading database ... 29406 files and directories currently installed.)
    Unpacking mysql-client (from .../mysql-client_5.0.32-7etch6_all.deb) ...
    Selecting previously deselected package mysql-server.
    Unpacking mysql-server (from .../mysql-server_5.0.32-7etch6_all.deb) ...
    Stopping MySQL database server: mysqld.
    Setting up mysql-client (5.0.32-7etch6) ...
    Setting up mysql-server (5.0.32-7etch6) ...
    So I've upgraded MySQL.

    Code:
    JTP003:/etc/init.d# mysqld --help
    mysqld  Ver [B]5.0.32[/B]-Debian_7etch6-log for pc-linux-gnu on i486 (Debian etch distribution)
    Copyright (C) 2000 MySQL AB, by Monty and others
    This software comes with ABSOLUTELY NO WARRANTY. This is free software,
    and you are welcome to modify and redistribute it under the GPL license
    
    Starts the MySQL database server
    
    Usage: mysqld [OPTIONS]
    
    For more help options (several pages), use mysqld --verbose --help
    But phpinfo() still shows old mysql version: Client API version 4.1.10

    Is it mysql extension in php, i dunno, how could I fix this?

    Help please.
     
  2. Ben

    Ben Active Member Moderator

    The client version php shows is the version php was compiled to.
    But imho you do not need to worry about. If php5-mysql is up to date everything is fine.

    The mysql-client you installed via apt is the cli tool "mysql".

    You may try
    BUT make sure, that your /etc/apt/sources.list contains your releaseversion and not stable, to avoid doing a distribution upgrade.
     

Share This Page