From nobody Sat May 20 20:06:38 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QNvqq3D4pz4BT46 for ; Sat, 20 May 2023 20:06:47 +0000 (UTC) (envelope-from SRS0=uCFT=BJ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QNvqq0KSHz41Zd for ; Sat, 20 May 2023 20:06:46 +0000 (UTC) (envelope-from SRS0=uCFT=BJ=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 83CDFD788A; Sat, 20 May 2023 22:06:39 +0200 (CEST) Received: from [192.168.145.50] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id D8760D7887; Sat, 20 May 2023 22:06:38 +0200 (CEST) Message-ID: <1d41985f-403d-beb2-c044-3db71bc0d69d@quip.cz> Date: Sat, 20 May 2023 22:06:38 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: Unable to upgrade Mariadb To: Xavier Humbert , FreeBSD Ports ML References: <372a6976-f671-4572-986b-57ae1552da48@groumpf.org> <45f8d8b0-fb1a-05b7-b4db-43837020a8ac@groumpf.org> Content-Language: cs-Cestina, en-US From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <45f8d8b0-fb1a-05b7-b4db-43837020a8ac@groumpf.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4QNvqq0KSHz41Zd X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 20/05/2023 19:40, Xavier Humbert wrote: > Le 5/20/23 11:58, Xavier Humbert a écrit : > Il eventually manage to upgrade by deleting mariadb104-server first, the > upgrading the client, then reinstallin mariadb105-server > > This is not satifying > > But now, I have this error : > > [root@numenor ~]# mariadb-upgrade -p -v > Enter password: > Looking for 'mariadb' as: mariadb > Looking for 'mariadb-check' as: mariadb-check > Error: Server version (10.4.28-MariaDB) does not match with the version of > the server (10.5.19-MariaDB) with which this program was > built/distributed. You can > use --skip-version-check to skip this check. > FATAL ERROR: Upgrade failed > [root@numenor ~]# pkg info mariadb\* > mariadb105-client-10.5.19 > mariadb105-server-10.5.19 It seems like you didn't stop the MariaDB server before doing the upgrade. Try to stop it with # service mysql-server stop and the list running processes # ps auxww | egrep 'mariadb|mysql' I think mariadb will not stop with newer rc script and you will need to kill it manually. Kind regards Miroslav Lachman