1
2
3
4
5
6
7
|
150208 10:48:47 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
150208 10:48:47 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
|
1
2
3
4
5
6
7
8
9
|
# vi /etc/mysql/debian.cnf
[client]
host = localhost
user = debian-sys-maint
password = mTHbclKSNuiyoifR
socket =
/var/run/mysqld/mysqld
.sock
......
mysql> grant all on *.* to
'debian-sys-maint'
@
'localhost'
identified by
'mTHbclKSNuiyoifR'
;
# sudo /etc/init.d/mysql restart #再重新启动就没有报错了
|