No Error Type From Qsqlerror Strange
Post #1 of 2 (434 views) Permalink Can't run mythfrontend For some reason mythfrontend will not connect to my backend's mysql database. Mythweb works like a charm, but not mythfrontend. From the frontend I can access the backend with the command mysql -hIP_ADDRESS -umythtv -pmythtv. But when I start mythfrontend I get this error message. QSqlDatabase: QMYSQL3 driver not loaded QSqlDatabase: available drivers: 2005-10-24 23:07:32.993 New DB connection, total: 1 2005-10-24 23:07:32.993 Unable to connect to database! 2005-10-24 23:07:32.994 No error type from QSqlError? Strange... 2005-10-24 23:07:32.994 Unable to connect to database! 2005-10-24 23:07:32.994 No error type from QSqlError? Strange... 2005-10-24 23:07:32.994 Database not open while trying to load setting: GuiVidModeResolution 2005-10-24 23:07:32.994 Unable to connect to database! 2005-10-24 23:07:32.994 No error type from QSqlError? Strange... 2005-10-24 23:07:32.995 Database not open while trying to load setting: GuiVidModeWidth 2005-10-24 23:07:32.995 Unable to connect to database! 2005-10-24 23:07:32.995 No error type from QSqlError? Strange... 2005-10-24 23:07:32.995 Database not open while trying to load setting: GuiVidModeHeight 2005-10-24 23:07:32.996 Unable to connect to database! 2005-10-24 23:07:32.996 No error type from QSqlError? Strange... 2005-10-24 23:07:32.996 Database not open while trying to load setting: DisplaySizeResolution This goes on forever. What can be the problem? wpoland at gmail Oct24,2005,8:13PM Post #2 of 2 (409 views) Permalink Re: Can't run mythfrontend [In reply to] On 10/24/05, Brian Wallen <brian_wallen [at] hotmail> wrote: > For some reason mythfrontend will not connect to my backend's mysql > database. Mythweb works like a charm, but not mythfrontend. From the > frontend I can access the backen
be careful to follow the directions, but I can't get past running sudo mythtv-setup. mythbox@coral:~$ sudo mythtv-setup.real (English chosen) (message box says no UPnP backends found) 2008-05-14 00:24:55.481 Using runtime prefix = /usr, libdir = /usr/lib 2008-05-14 00:24:55.487 XScreenSaver support enabled 2008-05-14 00:24:55.487 DPMS is active. 2008-05-14 00:24:55.487 Empty LocalHostName. 2008-05-14 00:24:55.487 Using localhost value of coral 2008-05-14 00:24:55.493 New DB connection, total: 1 2008-05-14 00:24:55.496 Unable to connect to database! 2008-05-14 00:24:55.496 Driver error was [1/1045]: QMYSQL3: Unable to connect Database error was: Access http://www.gossamer-threads.com/lists/mythtv/users/156618 denied for user 'mythtv'@'localhost' (using password: YES) QSqlQuery::exec: database not open QSqlQuery::exec: database not open 2008-05-14 00:24:55.546 DB Error (KickDatabase): Query was: SELECT NULL; No error type from QSqlError? Strange... QServerSocket: failed to bind or listen to the socket 2008-05-14 00:24:55.597 MCP::InitUPnP() - HttpServer Create Error 2008-05-14 00:24:55.597 Deleting UPnP client... 2008-05-14 00:24:55.597 No UPnP backends found 2008-05-14 00:24:55.600 Primary screen 0. https://ubuntuforums.org/archive/index.php/t-793783.html 2008-05-14 00:24:55.600 Using screen 0, 1024x768 at 0,0 2008-05-14 00:24:55.601 Switching to square mode (blue) 2008-05-14 00:24:55.624 Using the Qt painter mythtv: could not connect to socket mythtv: No such file or directory 2008-05-14 00:24:55.624 lirc_init failed for mythtv, see preceding messages 2008-05-14 00:24:55.624 JoystickMenuClient Error: Joystick disabled - Failed to read /home/mythbox/.mythtv/joystickmenurc 2008-05-14 00:24:57.000 DB Error (Clear setting): Query was: No error type from QSqlError? Strange... 2008-05-14 00:24:57.000 DB Error (SaveSettingOnHost query failure: ): Query was: No error type from QSqlError? Strange... 2008-05-14 00:24:57.000 DB Error (Clear setting): Query was: No error type from QSqlError? Strange... 2008-05-14 00:24:57.000 DB Error (SaveSettingOnHost query failure: ): Query was: No error type from QSqlError? Strange... 2008-05-14 00:25:36.142 Writing settings file /home/mythbox/.mythtv/mysql.txt 2008-05-14 00:25:36.146 Closing DB connection named 'DBManager0' 2008-05-14 00:25:36.152 Unable to connect to database! 2008-05-14 00:25:36.152 Driver error was [1/1045]: QMYSQL3: Unable to connect Database error was: Access denied for user 'mythtv'@'localhost' (using password: YES) QSqlQuery::exec: database not open QSqlQuery::exec: database not open 2008-05-14 00:25:36.202 DB Error (KickDatabase): Query was: SELECT NULL; No error type from QSqlError? Strange... 2008-05-14 00:25:36.252 Cannot login to database? 2008-05-
want to check those before adding a question -- or answer -- here.) Join us making your favorite media center even better than it already is today. Contents 1 General 1.1 What is MythTV? 1.2 Where can I ask questions? 2 Development 2.1 Is MythTV development dead? Where is https://www.mythtv.org/wiki/Frequently_Asked_Questions the next stable release? 2.2 Does MythTV have a bug tracker? 2.3 What has changed in https://code.mythtv.org/trac/ticket/4611 unstable/development since blah (time/revision)? 2.4 When will Myth reach 1.0? 2.5 Myth should be released more often! Why wait so long? 3 Versions and database 3.1 I'm getting a protocol mismatch. What is wrong? 3.2 Can I use Release X or unstable/development X frontend/backend with release Y or unstable/development Y frontend/backend? 3.3 How can I go back from unstable/development code to release X? 3.4 Do no error I really need this backend thingie? 3.5 Does the backend need to be running all the time? 3.6 Well then, what about this MySQL thing? 4 Hardware 4.1 I can't get
broken Reported by: stuartm Owned by: nigel Priority: major Milestone: 0.21 Component: mythtv Version: head Severity: medium Keywords: Cc: Ticket locked: no Description (last modified by nigel) Autodiscovery no longer seems to work for me when I pass the -p param. I get the selection screen but no servers are listed, although there are two master backends on the network. Worked fine the last time I used -p a few weeks ago. mythfrontend -p -v upnp 2008-02-07 19:20:12.811 Using runtime prefix = /usr/local, libdir = /usr/local/lib 2008-02-07 19:20:12.812 UPnp - Constructor 2008-02-07 19:20:12.812 MediaRenderer::Begin 2008-02-07 19:20:12.814 ThreadPool:AddWorkerThread - HTTP_WorkerThread 2008-02-07 19:20:12.815 HttpServer( 6547 ) - SharePath = /usr/local/share/mythtv/ 2008-02-07 19:20:12.815 UPnp::Initialize - Begin 2008-02-07 19:20:12.815 UPnp::Initialize - Starting TaskQueue 2008-02-07 19:20:12.816 UPnp::Initialize - Creating SSDP Thread at port 6547 2008-02-07 19:20:12.856 UPnp::Initialize - End 2008-02-07 19:20:12.856 MediaRenderer::Creating UPnp Description 2008-02-07 19:20:12.856 MediaRenderer::Registering CMGR Service. 2008-02-07 19:20:12.857 UPnp::Start - Starting SSDP Thread (Multicast) 2008-02-07 19:20:12.865 UPnp::Start - Enabling Notifications 2008-02-07 19:20:12.866 SSDP::EnableNotifications() - creating new task 2008-02-07 19:20:12.866 SSDP::EnableNotifications() - sending NTS_byebye 2008-02-07 19:20:12.866 LookupUDN(urn:schemas-upnp-org:device:MediaRenderer:1) sName=UPnP/UDN/MediaRenderer, sUDN=9c05bdb3-0b24-4735-b55a-4952534255d9 2008-02-07 19:20:14.192 SSDP::EnableNotifications() - sending NTS_alive 2008-02-07 19:20:14.193 SSDP::EnableNotifications() - Task added to UPnP queue 2008-02-07 19:20:14.193 UPnp::Start - Returning 2008-02-07 19:20:14.193 MediaRenderer::End 2008-02-07 19:20:14.452 DPMS is disabled. 2008-02-07 19:20:14.453 Empty LocalHostName. 2008-02-07 19:20:14.453 Using localhost value of stanage_edge 2008-02-07 19:20:14.519 New DB connection, total: 1 DisplaResX: Unable to XRRgetScreenInfo 2008-02-07 19:20:14.543 Total desktop dim: 2720x900, with 2 screen[s]. 2008-02-07 19:20:14.545 Using screen 0, 1280x800 at 1440,0 2008-02-07 19:20:14.547 Switching to square mode (blue) 2008-02-07 19:20:14.653 Using the Qt painter 2008-02-07 19:20:16.974 DB Error