我通过杀死进程id来停止mysqld,然后也删除了mysqld.sock文件.现在,mysqld没有启动.
我知道有一些数据损坏.但现在我需要启动MySQL而不重新安装它.
以下是生成的日志.
InnoDB: using the same InnoDB data or log files.
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140107 8:27:43 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
140107 8:27:43 InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers … 我有一个C/C++应用程序,它在Unix中的共享内存中写入数据.现在我想通过使用Java的程序读取共享内存数据.
程序应该读取共享内存数据.有可能吗?
如果可能,需要一个小实现.