I'm having problems here as well. I only really notice it as mythttv cannot start.
I've tried some things. I verified mysql shows up in the etc/passwd file.
But, su mysql followed by whoami still shows I'm root.
I'm pretty sure I ran: mysql_install_db --user=mysql
I've also chown -R mysql:mysql /var/lib/mysql and verified ownership. Note that only RWX are only allowed by owner. Is this problem?
When sh /etc/rc.d/rc.mysqld, It does not go to prompt but hangs. Upon hitting "enter" key, it goes to prompt.
When running: mysql -u root -p, this works and I can get in.
Mythtv-setup gives me errors.
mysql log shows:
Code:
090211 20:36:40 mysqld started
090211 20:36:40 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090211 20:36:40 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
090211 20:36:40 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
090211 20:36:40 InnoDB: Started; log sequence number 0 43655
090211 20:36:40 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.0.67' socket: '/var/run/mysql/mysql.sock' port: 3306 Source distribution
Seems like its running.
Error for mythtv-setup is:
Code:
bash-3.1$ mythtv-setup
2009-02-11 21:00:10.565 Using runtime prefix = /usr, libdir = /usr/lib
2009-02-11 21:00:10.585 XScreenSaver support enabled
2009-02-11 21:00:10.585 DPMS is disabled.
2009-02-11 21:00:10.606 Empty LocalHostName.
2009-02-11 21:00:10.606 Using localhost value of xxx
2009-02-11 21:00:10.624 New DB connection, total: 1
2009-02-11 21:00:10.628 Connected to database 'mythconverg' at host: localhost
2009-02-11 21:00:10.629 Closing DB connection named 'DBManager0'
2009-02-11 21:00:10.629 Total desktop dim: 1280x1024, with 1 screen[s].
2009-02-11 21:00:10.630 Connected to database 'mythconverg' at host: localhost
2009-02-11 21:00:10.631 Using screen 0, 1280x1024 at 0,0
2009-02-11 21:00:10.646 ERROR: Unable to create schemalock table: Driver error was [2/1142]:
QMYSQL3: Unable to execute query
Database error was:
CREATE command denied to user 'mythtv'@'localhost' for table 'schemalock'
...lots more errors ending with...
2009-02-11 21:00:10.674 No current database version. Auto upgrading
2009-02-11 21:00:10.674 Newest Schema Version : 1214
2009-02-11 21:00:10.674 ERROR: Unable to create schemalock table: Driver error was [2/1142]:
QMYSQL3: Unable to execute query
Database error was:
CREATE command denied to user 'mythtv'@'localhost' for table 'schemalock'
2009-02-11 21:00:10.674 Couldn't upgrade database to new schema.
So it seems the mythtv user does not have proper access. I've also created a mythtv user. Don't know if I needed one with slackware 12.2 but it didn't help.
I thought I followed directions for giving access. I even commented out the networking option in rc.mysqld which allows network access.
So I'm at a loss. Thoughts?