Closed GoogleCodeExporter closed 8 years ago
Discovery
Original comment by m...@landwin.com.tw
on 1 Dec 2010 at 7:25
MySQL 4 needs shorter keys: http://bugs.mysql.com/bug.php?id=4541
I think the problem must be on the keys referencing ocr_server_uri in TABLE
oauth_consumer_registry. I don't have a mysql 4 here to test (you should
upgrade, but I know that upgrading is not always easy), but if you can tell me
which create table statements work and which ones don't it will be easier to
discover which keys are being problematic.
Three quick fixes:
1) use latin1 instead of utf8. If you are sure that you won't use anything but
ASCII or latin characters, this would work.
2) Reduce the fields (from 255 to 196, for example). May five you problems with
long URIs, but they are not very common.
3) reduce the key sizes. This may lead to some clashes with long URIs as well.
Original comment by brunobg%...@gtempaccount.com
on 1 Dec 2010 at 2:09
Original comment by brunobg%...@gtempaccount.com
on 6 Jan 2011 at 6:11
Original issue reported on code.google.com by
nzia...@gmail.com
on 28 Nov 2010 at 12:48