Closed tarunhere closed 11 years ago
No-CMS 0.6.2 use this query to check whether innodb is activated or not:
show variables like 'have_innodb';
Can you please run the query via PHPMyadmin?
For temporary fix, please modify install/function.php
. Comment out line 105-116
if (!$connection) {
$return["success"] = false;
$return["error_message"] .= "Cannot connect to database";
} else {
/* comment out these lines:
$result = @mysql_query('SHOW VARIABLES LIKE \'have_innodb\';', $connection);
$row = mysql_fetch_array($result);
$innodb = $row['Value'];
if (!$innodb) {
$return["success"] = false;
$return["error_message"] .= "Your database doesn't support Innodb";
}
*/
}
In No-CMS 0.6.5 (still on development stage) the mechanism has been changed, and this will probably not become problem.
I ran this script and I didn't got any result!! Here is the screenshot.
In my computer I get this:
This explains why the installer cannot recognize innodb setting in your computer
I think you should take the second approach. Please comment out line 105-116 of install/function.php
.
I found this that, has_innodb has been deprecated and removed in MySQL 5.6. Thanks for quick response though.
http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_have_innodb
I guess those lines of code at install/function.php needs to be changed. Isn't it?
Okay, I've just apply this fix.
I am installing this on Mac OS X, I have checked the settings, n Mysql does support and Innodb and its default also. Still, why I am getting this error, not sure.![screen shot 2013-07-26 at 8 39 39 pm](https://f.cloud.github.com/assets/4122496/863248/7c9d9c14-f605-11e2-9bd8-744d5fd3a508.png)
Any help appreciated.
Please find other screenshots which says that my default DB engine is InnoDB.![phpmyadmin 3 5 7](https://f.cloud.github.com/assets/4122496/863593/19c5c794-f60d-11e2-8607-682454c34d99.png)
Still while installing, I am getting this error !!![install no cms](https://f.cloud.github.com/assets/4122496/863602/60f3bde2-f60d-11e2-9341-45c24203fbc1.png)