- 论坛徽章:
- 0
|
直接在终端可以连接,用php就不行了
找不到mysql.sock ,执行mysqld命令的时候显示信息如下:
131127 17:24:53 [Warning] Can't create test file /usr/local/mysql-5.5.30-osx10.6-x86_64/data/bogon.lower-test
131127 17:24:53 [Warning] Can't create test file /usr/local/mysql-5.5.30-osx10.6-x86_64/data/bogon.lower-test
131127 17:24:53 [Note] Plugin 'FEDERATED' is disabled.
./mysqld: Can't find file: './mysql/plugin.frm' (errno: 13)
131127 17:24:53 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
131127 17:24:53 InnoDB: The InnoDB memory heap is disabled
131127 17:24:53 InnoDB: Mutexes and rw_locks use GCC atomic builtins
131127 17:24:53 InnoDB: Compressed tables use zlib 1.2.3
131127 17:24:53 InnoDB: Initializing buffer pool, size = 128.0M
131127 17:24:53 InnoDB: Completed initialization of buffer pool
131127 17:24:53 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: 'open'.
InnoDB: Cannot continue operation.
求解咋回事?是不是没有装好 |
|