我需要在我的ubuntu服务器10.04上启用innodb并且遇到大量问题,我尝试到处发布问题而且我没有答案....我试过这个
show variables like "%innodb%"; +-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| have_innodb | NO |
| ignore_builtin_innodb | OFF |
+-----------------------+-------+
因此它似乎没有安装或者其他东西,但我一直在阅读它默认安装
show engines;+------------+---------+----------------------------------------------------------------+--------------+------+------------+
| Engine | Support | Comment | Transactions | XA | Savepoints |
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance | NO | NO | NO |
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) | NO | NO | NO |
| CSV | YES | CSV storage engine | NO | NO | NO |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO |
| FEDERATED | NO | Federated MySQL storage engine | NULL | NULL | NULL |
| ARCHIVE | YES | Archive storage engine | NO | NO | NO |
+------------+---------+----------------------------------------------------------------+--------------+------+------------+
7 rows in set (0.00 sec)
我没有在输出中看到它......任何帮助都会有所帮助......这是screen我不断得到的,我无法通过我的socialengine安装过去这个屏幕 请任何人帮忙
答案 0 :(得分:0)
解决了问题
在“/etc/mysql/my.cnf”文件中启用以下两个InnoDB指令似乎已解决此问题:
default-storage-engine=innodb
default-table-type=innodb
重新启动MySQL服务器时,似乎存在一些延迟进程,因此未正确创建“mysqld.sock”文件。正如您在Lish中看到的那样,我使用“kill”命令强制杀死了延迟进程,然后通过“service mysql start”正常重启MySQL,从而允许创建“mysqld.sock”文件。