Error 255

When I try to “make initialize-database” I get the following error. My.cnf
does not contain any lines with “skip-innodb” in it. I am installing the
newest stable version of rt on a new fedora core 2 box.

[root@localhost rt-3.2.1]# make initialize-database
/usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba
root --prompt-for-dba-password
In order to create a new database and grant RT access to that database,
this script needs to connect to your mysql instance on localhost as root.
Please specify that user’s database password below. If the user has no
database
password, just press return.

Password: Now creating a database for RT.
Creating mysql database rt3.
RT requires that MySQL be InnoDB table support be enabled.
Remove the ‘skip-innodb’ line from your my.cnf file, restart MySQL, and try
again.
make: *** [initialize-database] Error 255

Raymond Norton
LCTN
admin@lctn.org

To Infinity and beyond!

–Buzz Lightyear

When I try to “make initialize-database” I get the following error. My.cnf
does not contain any lines with “skip-innodb” in it. I am installing the
newest stable version of rt on a new fedora core 2 box.
Hrm. What version of MySWL are you running, and what is the output of:
myql -u root -p -e ‘show variables;’ | grep have_innodb

  • Alex

Networking – one letter away from not working

Hrm. What version of MySWL are you running, and what is the output of:
myql -u root -p -e ‘show variables;’ | grep have_innodb

mysql-3.23.58-9

[root@localhost root]# mysql -u root -p -e ‘show variables;’ | grep
have_innodb

Enter password:
have_innodb DISABLED

mysql-3.23.58-9
[snip]
have_innodb DISABLED
InnoDB support is not enabled by default in mysql-3.23; see
http://dev.mysql.com/doc/mysql/en/InnoDB_in_MySQL_3.23.html for
details. Adding the following to the [mysql] section should suffice:
innodb_data_file_path=ibdata1:10M:autoextend
I will update build process with that suggestion for mysql < 4.

  • Alex

Networking – one letter away from not working

I will update build process with that suggestion for mysql < 4.

Along with the big, big note that RT is 100% unsupported on mysql
versions before 4.0.x, right? :wink:

Jesse

InnoDB support is not enabled by default in mysql-3.23; see
http://dev.mysql.com/doc/mysql/en/InnoDB_in_MySQL_3.23.html for
details. Adding the following to the [mysql] section should suffice:
innodb_data_file_path=ibdata1:10M:autoextend
I will update build process with that suggestion for mysql < 4.

Thank you! That worked:)