2012-10-18 1291 views
0

我通过位于MySQL站点的软件包安装了MySQL。无法在MAC OS X中启动mysql 10.7.5

我改变了这个目录:

/usr/local/mysql-5.5.28-osx10.5-x86/data 

对于_mysql

但是,当我尝试做mysqld的启动,我收到以下错误和警告:

121018 18:04:17 [Warning] Can't create test file /usr/local/mysql-5.5.28-osx10.5-x86/data/homer.lower-test 
121018 18:04:17 [Warning] Can't create test file /usr/local/mysql-5.5.28-osx10.5-x86/data/homer.lower-test 
121018 18:04:17 [Note] Plugin 'FEDERATED' is disabled. 
mysqld: Can't find file: './mysql/plugin.frm' (errno: 13) 
121018 18:04:17 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 
121018 18:04:17 InnoDB: The InnoDB memory heap is disabled 
121018 18:04:17 InnoDB: Mutexes and rw_locks use InnoDB's own implementation 
121018 18:04:17 InnoDB: Compressed tables use zlib 1.2.3 
121018 18:04:17 InnoDB: Initializing buffer pool, size = 128.0M 
121018 18:04:17 InnoDB: Completed initialization of buffer pool 
121018 18:04:17 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. 

任何小费会发生什么?

回答

0

最简单的事情就是安装系统首选项插件,通过下载和启动/停止MySQL使用它。您可以将其设置为在系统重新启动时自动启动。