On Fri, Jun 05, 2009 at 01:33:21PM -0000, pascal wrote:
> Jun 5 15:31:40 pascal-laptop mysqld_safe[15491]:
> Jun 5 15:31:40 pascal-laptop AppArmor(init): Skipping profile
> /etc/apparmor.d/usr.sbin.mysqld~
> Jun 5 15:31:41 pascal-laptop mysqld_safe[15673]: started
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 [Warning]
> Can't create test file /home/mysql/pascal-laptop.lower-test
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 [Warning]
> Can't create test file /home/mysql/pascal-laptop.lower-test
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 InnoDB:
> Operating system error number 13 in a file operation.
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: The error means
> mysqld does not have the access rights to
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: the directory.
Why is mysql trying to use /home/mysql/ as its data directory?
Is /var/lib/mysql/ a symlink to /home/mysql/ ?
This is a non-default setup and thus mysqld apparmor profile needs to be
updated to account for this custom configuration.
On Fri, Jun 05, 2009 at 01:33:21PM -0000, pascal wrote: d/usr.sbin. mysqld~ pascal- laptop. lower-test pascal- laptop. lower-test
> Jun 5 15:31:40 pascal-laptop mysqld_safe[15491]:
> Jun 5 15:31:40 pascal-laptop AppArmor(init): Skipping profile
> /etc/apparmor.
> Jun 5 15:31:41 pascal-laptop mysqld_safe[15673]: started
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 [Warning]
> Can't create test file /home/mysql/
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 [Warning]
> Can't create test file /home/mysql/
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: 090605 15:31:41 InnoDB:
> Operating system error number 13 in a file operation.
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: The error means
> mysqld does not have the access rights to
> Jun 5 15:31:41 pascal-laptop mysqld[15676]: InnoDB: the directory.
Why is mysql trying to use /home/mysql/ as its data directory?
Is /var/lib/mysql/ a symlink to /home/mysql/ ?
This is a non-default setup and thus mysqld apparmor profile needs to be
updated to account for this custom configuration.
-- www.ubuntu. com
Mathias Gug
Ubuntu Developer http://