[mythtv-users] MYSQL not starting...

A JM vbtalent at gmail.com
Thu May 10 10:42:13 UTC 2007


I'm running Ubuntu. I don't use selinux, I did check the permissions
on the .dmrc file and the correct manager is listed.

[Desktop]
Session=gnome

"If you open a root-shell ("sudo -s" or "su -") you can do "su - mysql" without
a paswoord."

I was able to login as root, su - mysql and then write to the log file.

Here are the permissions on the /var/log/mysql directory.

root at myth:/var/log# ls -al
drwxr-xr-x  2 mysql mysql   4096 2007-05-10 06:29 mysql

root at myth:/var/log/mysql# ls -al
total 8
drwxr-xr-x  2 mysql mysql 4096 2007-05-10 06:29 .
drwxr-x--- 11 root  root  4096 2007-05-09 21:49 ..

This is again from the daemon log after I try to restart mysql, what
is "^G" in the path statement?

May 10 06:34:22 myth mysqld_safe[6338]: started
May 10 06:34:22 myth mysqld[6341]: ^G/usr/sbin/mysqld: File
'/var/log/mysql/mysql-bin.index' not found (Errcode: 13)
May 10 06:34:22 myth mysqld[6341]: 070510  6:34:22 [ERROR] Aborting
May 10 06:34:22 myth mysqld[6341]:
May 10 06:34:22 myth mysqld[6341]: 070510  6:34:22 [Note]
/usr/sbin/mysqld: Shutdown complete
May 10 06:34:22 myth mysqld[6341]:
May 10 06:34:22 myth mysqld_safe[6343]: ended
May 10 06:34:37 myth /etc/init.d/mysql[6481]: 0 processes alive and
'/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping'
resulted in
May 10 06:34:37 myth /etc/init.d/mysql[6481]: ^G/usr/bin/mysqladmin:
connect to server at 'localhost' failed
May 10 06:34:37 myth /etc/init.d/mysql[6481]: error: 'Can't connect to
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
May 10 06:34:37 myth /etc/init.d/mysql[6481]: Check that mysqld is
running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
May 10 06:34:37 myth /etc/init.d/mysql[6481]:


More information about the mythtv-users mailing list