Edgewall Software

Ticket #3161 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Updating to Revision 3300 with MySql Support

Reported by: anthony@… Owned by: cboos
Priority: normal Milestone: 0.10
Component: admin/console Version: devel
Severity: normal Keywords: mysql
Cc:

Description

I am having difficulty upgrading my database to revision 3300, I am getting the error message

Command failed: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TEMP TABLE session_old AS SELECT * FROM session' at line 1")

when I use the command upgrade --no-backup. I am wondering whether it is because I was previously using one of the patches from bug #986 to provide MySQL support and the database schemas have changed now? Any suggestions for what I could do to upgrade my issue database to support the new 3300 revision from trunk?

Attachments

Change History

Changed 3 years ago by cboos

should be TEMPORARY, not TEMP. Upgrade to r3301 or higher.

(and please don't forget to close as worksforme if this fixes the issue)

Changed 3 years ago by cboos

  • keywords mysql added
  • owner changed from daniel to cboos
  • milestone set to 0.10

Looking closer, the TEMP above is in trac/upgrades/db18.py and r3301 fixed only trac/upgrades/db19.py

We need to fix that.

Changed 3 years ago by cboos

  • status changed from new to closed
  • resolution set to fixed

For consistency, now TEMPORARY is used everywhere, with r3414.

Add/Change #3161 (Updating to Revision 3300 with MySql Support)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.