From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hnxyw-0000Mu-LM for garchives@archives.gentoo.org; Tue, 15 May 2007 14:26:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l4FENIjC018329; Tue, 15 May 2007 14:23:18 GMT Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.229]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l4FENGLo018262 for ; Tue, 15 May 2007 14:23:17 GMT Received: by nz-out-0506.google.com with SMTP id x7so150899nzc for ; Tue, 15 May 2007 07:23:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=U9kZJSPzLVOC0GWgEzSqLwC9YSdTIYGZlrYeWulvTHBpyCMnFMUfDul0uolNc4D5HkaqGD5YD7i6tbgxBug8n/MLOW9ger8cW79l1j8fmxGd/hVWeX2VXebjOpcnR7GVS3WaeOA50ebIi9JqOEJiyLNRI3niBwIs+V7cC0aAIcA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V7WbjZBgArw1TEKQyhchbbfogI5NNw8Y1VI2+ZeVWZMn8ipodMzC3IeyC5TXaaD6pP0h4+PPGH56ICna0YWmdoq1MbuaUWCC5icon1f+cAQUE/RbQYZiBEO786VTKkGfVH6sw6anBiIOuNPsVygTYPFbZWTqISFd2x5Ep+SS8bs= Received: by 10.114.148.1 with SMTP id v1mr1603973wad.1179238994882; Tue, 15 May 2007 07:23:14 -0700 (PDT) Received: by 10.115.17.14 with HTTP; Tue, 15 May 2007 07:23:14 -0700 (PDT) Message-ID: <5bdc1c8b0705150723u59ae5933h3a676bd814104d7b@mail.gmail.com> Date: Tue, 15 May 2007 07:23:14 -0700 From: "Mark Knecht" To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] mythfrontend on AMD64 - will it work with qt-4? (cannot connect to database) In-Reply-To: <20070515122943.GH11545@blzj.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5bdc1c8b0705141959u3658eee1g21852225dda69a3c@mail.gmail.com> <20070515122943.GH11545@blzj.com> X-Archives-Salt: d6d0ff7e-6903-4333-b02c-2ea3c4a374a7 X-Archives-Hash: f4a54d236231e69e9e81fe2dfb2f0b33 On 5/15/07, Brett Johnson wrote: > On Mon, May 14, 2007 at 07:59:52PM -0700, Mark Knecht wrote: > > Hi, > > I'm in the early stages of a complete MythTV update across my > > network. I have the backend nearly working in an IA32 machine. It runs > > fine but isn't getting all the channels correctly yet. In parallel > > with that effort I'm trying to get the frontend working again on my > > AMD64 machine. > > > > However when I try to start the frontend it complains like this: > > > > mark@lightning ~ $ mythfrontend --geometry 800x600 > > 2007-05-14 19:56:19.577 Using runtime prefix = /usr > > 2007-05-14 19:56:19.585 DPMS is active. > > QSqlDatabase: QMYSQL3 driver not loaded > > QSqlDatabase: available drivers: > > 2007-05-14 19:56:19.595 New DB connection, total: 1 > > 2007-05-14 19:56:19.595 Unable to connect to database! > > 2007-05-14 19:56:19.596 No error type from QSqlError? Strange... > > QSqlQuery::exec: database not open > > QSqlQuery::exec: database not open > > 2007-05-14 19:56:19.646 DB Error (KickDatabase): > > Query was: > > SELECT NULL; > > No error type from QSqlError? Strange... > > > > > First, I believe MythTV still required QT3. The QT package is slotted, > so you should be able to have both 3 and 4 installed. If you upgraded > MySQL on the AMD64 box, you may want to rebuild QT3 with something like > emerge -av =dev-libs/qt3* > > If that doesn't fix it, it sounds like it could be a password encryption > problem. I had a similar problem when I tried using a RHEL box as a > front end. The RHEL distribution only supported MySQL 4.0.x and my back > end DB is MySQL 5.x. I could connect fine from the command line, but the > front end could not. After a bit of research I determined it was a > password encryption problem. I decided the easiest solution for me was to > create a second account for the mythconverg DB and encrypt the password > using the old_password function. You can also upgrade the client to 5.x. > If it's already at 5.x you may need to re-encrypt the password for the > account. > > You may want to look at > http://dev.mysql.com/doc/refman/5.0/en/old-client.html > and try some of the suggestions. > > Hope this helps. > > Brett > -- > gentoo-amd64@gentoo.org mailing list > > Hi Brett. Thanks for responding. I have both qt3 and qt4 installed: mark@lightning ~ $ eix -I x11-libs/qt [I] x11-libs/qt Available versions: (3) 3.3.4-r8 3.3.8-r2 (4) 4.2.3-r1 ~*4.3.0_beta1 ~4.3.0_rc1 {accessibility cups dbus debug doc examples firebird gif glib immqt immqt-bc input_devices_wacom ipv6 jpeg mng mysql nas nis odbc opengl pch png postgres qt3support sqlite sqlite3 ssl tiff xinerama zlib} Installed versions: 3.3.8-r2(3)(09:05:22 PM 04/18/2007)(cups -debug -doc -examples -firebird gif -immqt -immqt-bc ipv6 mysql -nas -nis -odbc opengl -postgres -sqlite -xinerama) 4.2.3-r1(4)(07:42:10 PM 05/14/2007)(-accessibility cups dbus -debug -doc -examples -firebird gif -glib -input_devices_wacom jpeg -mng mysql -nas -nis -odbc opengl -pch png -postgres qt3support -sqlite -sqlite3 -xinerama zlib) Homepage: http://www.trolltech.com/ Description: The Qt toolkit is a comprehensive C++ application development framework. As far as I can tell Myth and most everything else does depend on qt3: mark@lightning ~ $ equery depends =x11-libs/qt-3.3.8-r2 [ Searching for packages depending on =x11-libs/qt-3.3.8-r2... ] app-cdr/k3b-1.0.1 (=x11-libs/qt-3.3*) app-crypt/qca-1.0-r2 (=x11-libs/qt-3.3*) app-text/poppler-bindings-0.5.4 (qt3? =x11-libs/qt-3*) dev-libs/dbus-qt3-old-0.70 (=x11-libs/qt-3*) kde-base/kdebase-3.5.5-r4 (=x11-libs/qt-3.3*) kde-base/kdelibs-3.5.5-r10 (=x11-libs/qt-3.3.8-r2) kde-misc/filelight-1.0_rc2 (=x11-libs/qt-3.3*) media-sound/qjackctl-0.2.22 (=x11-libs/qt-3*) media-tv/mythtv-0.20.1_p13344 (=x11-libs/qt-3.3*) x11-themes/mythtv-themes-0.20.1 (=x11-libs/qt-3.3*) mark@lightning ~ $ equery depends =x11-libs/qt-4.2.3-r1 [ Searching for packages depending on =x11-libs/qt-4.2.3-r1... ] app-text/poppler-bindings-0.5.4 (qt4? =x11-libs/qt-4*) mark@lightning ~ $ I did upgrade mysql to version 5 so I'll try rebuilding qt3 using this command: emerge -av =x11-libs/qt-3* If the info above suggests other ideas please post back when you get a chance. thanks, Mark -- gentoo-amd64@gentoo.org mailing list