no error message if mysql used on version compiled without mysql support
|Affected Versions:||OpenNebula 2.2|
If one tries to use mysql on a version compiled without mysql support, the server simply dies with to messages to the console or to the logs. When doing this, the server should emit an error that mysql is not supported by the compiled version being used.
#1 Updated by Ruben S. Montero about 10 years ago
I can not reproduce this:
- OpenNebula compiled with
scons -j3 sqlite=yes mysql=no
# Sample configuration for MySQL DB = [ backend = "mysql", server = "localhost", port = 0, user = "oneadmin", passwd = "oneadmin", db_name = "opennebula" ]
I obtain this:
> oned Aborting oned, MySQL support not compiled! > one start Aborting oned, MySQL support not compiled! oned failed to start
Maybe this is a compilation issue. gcc should not define MYSQL_DB for this to work.