I emerge -C mysql and added inndb to my usses variable.
After emerging mysql it strated oke but in MySQL system variables
have_innodb is disabled.
How do I turn it on.
If that's not a typo, "innodb" is missing an 'o'.TUX2k wrote:I emerge -C mysql and added inndb to my usses variable.
Code: Select all
[mysqld]
innodb_data_file_path=ibdata:30M
Maybe you forget to turn off the 'skip-innodb'option in the my.cnf file;TUX2k wrote:Sorry thats a typo, when emerging I did see the option --with-innodb pass.
But when I start mysql and show MySQL system variables via phpMyAdmin.
The option have_innodb is disabled
Do I have to turn It on some where alse.
I looked on the MySQL site there It says that you have to ad the optionSo I did but still no innodb I mysql.Code: Select all
[mysqld] innodb_data_file_path=ibdata:30M

Code: Select all
tigger ~ # emerge -pv mysql
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-db/mysql-5.0.22 USE="berkdb perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -srvdir -static" 0 kBCode: Select all
* You might want to run:
* "emerge --config =dev-db/mysql-5.0.22"
* if this is a new install.
*
* InnoDB is *not* optional as of MySQL-4.0.24, at the request of upstream.Code: Select all
tigger ~ # /etc/init.d/mysql restart
* Re-caching dependency info (mtimes differ)...
* Stopping mysql ...
* Stopping mysqld (0) [ ok ]
* Re-caching dependency info (mtimes differ)...
* Re-caching dependency info (mtimes differ)...
* Re-caching dependency info (mtimes differ)...
* Re-caching dependency info (mtimes differ)...
* ...
* Starting mysql (/etc/mysql/my.cnf) [ ok ]
tigger ~ # Code: Select all
mysql> show variables like 'have_innodb';
+---------------+----------+
| Variable_name | Value |
+---------------+----------+
| have_innodb | DISABLED |
+---------------+----------+
1 row in set (0.00 sec)
mysql> show engine innodb status;
ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is definedCode: Select all
tigger ~ # grep skip /etc/mysql/my.cnf
skip-locking
# skip-networking
# skip-innodb
Code: Select all
innodb_data_file_path = ibdata1:10M:autoextendCode: Select all
innodb_data_file_path = ibdata1:10M:autoextend:max:128M