Bug 16351 - mysql unable to start: unknown option '--innodb'
: mysql unable to start: unknown option '--innodb'
Status: UNCONFIRMED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 7.5.x
: PC Linux (other)
: -- critical (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-09 00:03 UTC by luca
Modified: 2011-03-16 04:19 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luca 2010-07-09 00:03:21 UTC
mandriva 2010.1(latest)
mysql-5.1.46-4mdv2010.1
squeezeboxserver-7.5.1-1

when i start squeezeboxserver:

100708 19:05:49 [ERROR] /usr/sbin/mysqld: unknown option '--innodb'
100708 19:05:49 [ERROR] Aborting

100708 19:05:49 [Note] /usr/sbin/mysqld: Shutdown complete

it seems that:
Starting from mysql-5.1.43-2 the storage engines is built as dynamically
loadable modules. You can either load the engines using the /etc/my.cnf file or
at runtime. Please look at these lines in the /etc/my.cnf file to enable
additional engines or disable one or more of the default ones:

plugin_dir=/usr/lib/mysql/plugin
plugin-load=ha_archive.so;ha_blackhole.so;ha_innodb.so;ha_federated.so


so i found this workaround changing my.tt:
remove innodb option
add plugin_dir=/usr/lib/mysql/plugin
add plugin-load=ha_archive.so;ha_blackhole.so;ha_innodb.so;ha_federated.so