My first experience of Myth: cant find mysql.sock
No error type from QSqlError? Strange...
2007-05-13 08:56:21.219 Unable to connect to database!
2007-05-13 08:56:21.219 Driver error was [1/2002]:
QMYSQL3: Unable to connect
Database error was:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
QSqlQuery::exec: database not open
QSqlQuery::exec: database not open
2007-05-13 08:56:21.272 DB Error (KickDatabase):
Query was:
SELECT NULL;
No error type from QSqlError? Strange...
2007-05-13 08:56:21.324 Failed to init MythContext, exiting.
Still get the same thing after installing MySQL (only mysql-shared was already installed). Running mysql at command prompt give the same thing:
harvest@dell5100:~> mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Tech Recipes has a solution for people who can find their mysql.sock, which will be great once I've found it. Found a useful command to remember though:
find / -name mysql.sock
Ah, the missing key was to turn on the mysql service: YaST > System Services (Runlevel editor). Like services.msc
http://swiftandbored.com/mythtvonsuse.htm installation guide seems quite helpful, though a little outdated. Am adding libdvdcss as per recommendation.
Finally found what seems to be the right set of instructions. OpenSUSE 10.2 at MythTV.org Will follow this from here.
No comments:
Post a Comment