[mythtv] mythtv-database deb installation on woody not faring well

Jeff jadams at hoovers.com
Wed Jul 16 00:36:44 EDT 2003


Greetings,

I'm in the process of setting up a new machine to run mythtv on. I've 
been a debian fan for a while now, so I decided to go with the woody 
debs for my installation, as I'm running woody.

I am having big trouble getting the mythtv-database (0.10-2) deb to 
install. I used apt-get update && DEBIAN_PRIORITY=low apt-get install 
mythtv and received the following output:
---------------------------------------------------------
Setting up mythtv-database (0.10-2) ...
Failed to connect to database: Access denied for user: 'root at localhost' 
(Using password: YES) at -e line 5, <> line 1.
Failed to create database (incorrect admin username/password?)
Failed to connect to database: Access denied for user: 'root at localhost' 
(Using password: YES) at -e line 240, <> line 1.
dpkg: error processing mythtv-database (--configure):
  subprocess post-installation script returned error exit status 255
---------------------------------------------------------

Now, I've seen the issue about changing the root password on mysql, but 
I don't believe I've done so (but I can't prove it). I can, however, 
issue the mysql client with no arguments, and get in:

---------------------------------------------------------
myhost:~# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 18 to server version: 3.23.49-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> status
--------------
mysql  Ver 11.16 Distrib 3.23.49, for pc-linux-gnu (i686)

Connection id:          18
Current database:
Current user:           root at localhost
Current pager:          stdout
Using outfile:          ''
Server version:         3.23.49-log
Protocol version:       10
Connection:             Localhost via UNIX socket
Client characterset:    latin1
Server characterset:    latin1
UNIX socket:            /var/run/mysqld/mysqld.sock
Uptime:                 23 hours 4 min 20 sec

Threads: 1  Questions: 5  Slow queries: 0  Opens: 6  Flush tables: 1 
Open tables: 0 Queries per second avg: 0.000
--------------
---------------------------------------------------------

I don't have a .mycnf to provide an alternative password, and I don't 
see one in /etc/mysql/my.cnf either, so as best as I can tell, 
root at localhost should not be denied.

Hopefully someone has seen this before and can quickly point out the 
error in my way.

Thanks,

- Jeff



More information about the mythtv-dev mailing list