mysql fails to install
Bug #373513 reported by
bettlebrox
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Mysql fails to install. This is on a system that was upgraded to jaunty, and previously had mysql installed. I renamed the previously existing /etc/mysql and /var/lib/mysql which had no affect. Purging the various mysql packages failed to resolve this issue also.
ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: mysql-server-5.0 5.1.30really5.
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.1.30really5.
Uname: Linux 2.6.28-11-generic i686
To post a comment you must log in.
Basically this fails to install or upgrade with the following error messages:
090506 0:32:37 [Warning] Can't create test file /var/lib/ mysql/micks- t400.lower- test
090506 0:32:37 [Warning] Can't create test file /var/lib/ mysql/micks- t400.lower- test
090506 0:32:37 [ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
090506 0:32:37 [ERROR] /usr/sbin/mysqld: Can't find file: './mysql/user.frm' (errno: 13)
ERROR: 1017 Can't find file: './mysql/user.frm' (errno: 13)
090506 0:32:37 [ERROR] Aborting
The permissions on /var/lib/mysql are:
drwxr-xr-x 3 mysql mysql 4.0K 2009-05-06 00:59 /var/lib/mysql/
I'm not sure where it's trying to create the user.frm file.