Discussion:
[Mayan EDMS: 2588] Migration error using MySql db
(too old to reply)
v***@gmail.com
2018-07-17 12:40:05 UTC
Permalink
I configured project using Django server. I had added the required
libraries based on requirement. when I tried to migrate Django using Mysql
server, I get error:

"django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'value' used in key specification without a key length")"

When I searched this error, I found -->MySQL error: key specification without a key length <https://stackoverflow.com/questions/1827063/mysql-error-key-specification-without-a-key-length>. but I occur error while migration.

mysql version - 5.7.20

please help me to find the problem. thanks in advance
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Roberto Rosario
2018-08-08 21:55:47 UTC
Permalink
Which version or fork of Mayan are you using? This error is typical of
MySQL when indexing text fields. Mayan doesn't index text fields. All
indexed fields are of CHAR 255 type.
Post by v***@gmail.com
I configured project using Django server. I had added the required
libraries based on requirement. when I tried to migrate Django using Mysql
"django.db.utils.OperationalError: (1170, "BLOB/TEXT column 'value' used in key specification without a key length")"
When I searched this error, I found -->MySQL error: key specification without a key length <https://stackoverflow.com/questions/1827063/mysql-error-key-specification-without-a-key-length>. but I occur error while migration.
mysql version - 5.7.20
please help me to find the problem. thanks in advance
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...