Simon Liang wrote:

Hi guys,

We’ve upgraded to 3.8.5 with no problems, but however upgrading the database is a different story:

**********************************************************

rt3:~/rt-3.8.6# mysql -u rt_upgrader -p -h 10.2.0.63 rt3_upgrade2

Enter password:

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 529971

Server version: 5.0.26-Debian_3-log Debian etch distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> exit

Yes that is mysql that you're connecting to.

Bye

rt3:~/rt-3.8.6# pwd

/root/rt-3.8.6

rt3:~/rt-3.8.6# /root/rt-3.8.6/sbin/rt-setup-database --dba rt_upgrader --action upgrade

In order to create or update your RT database, this script needs to connect to your SQLite instance on 10.2.0.63 as rt_upgrader


BUT this is SQLite that you're connecting to. MySQL<>SQLite!!!
Looks like you didn't specifiy a database-type during your configure run.
Check config.log, at the top you'll find you ./configure statement with its arguments. Rerun it with the correct parameters.

Regards,

Joop


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Reply via email to