Jump to content
  • 0

Error Code: 1071


dwarf03

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  02/27/12
  • Last Seen:  

Hello. I'm using MySQL Workbench and this error appears. I don't know whats wrong. Can you guys help me? It's my first time and I am a beginner to this. Thank you so much in advance.

 

 

mysqlerror.PNG

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  86
  • Reputation:   21
  • Joined:  10/02/13
  • Last Seen:  

In MySQL version 5.7 and upwards this limit has been increased to 3072 bytes.

https://stackoverflow.com/a/36405914

So, make sure you are using MySQL 5.7.

Edited by Tyrfing
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  02/27/12
  • Last Seen:  

1 minute ago, Tyrfing said:

767 bytes is the stated prefix limitationfor InnoDB tables in MySQL version 5.6 (and prior versions). It's 1,000 bytes long for MyISAM tables. In MySQL version 5.7 and upwards this limit has been increased to 3072 bytes.

So, make sure you are using MyISAM tables or MySQL 5.7.

Hello sir Tyrfing good day. I'm not so sure about what you are asking but can you tell me if this is right? 

version.PNG

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  02/27/12
  • Last Seen:  

Oh, you had edited your reply. Okay let me try to downgrade, mine will update you sooner if it works! Thank you!

8 minutes ago, Tyrfing said:

In MySQL version 5.7 and upwards this limit has been increased to 3072 bytes.

https://stackoverflow.com/a/36405914

So, make sure you are using MySQL 5.7.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  86
  • Reputation:   21
  • Joined:  10/02/13
  • Last Seen:  

Sorry, you don't have to downgrade. I thought you were using 5.6. You need to Switch from innodb to myisam before importing your SQL files. Or change the collation to some other type. Try utf8_general_ci.

Please refer to this link

23 minutes ago, Tyrfing said:

 

Quote

 

Edited by Tyrfing
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   0
  • Joined:  02/27/12
  • Last Seen:  

On 6/16/2018 at 7:35 AM, Tyrfing said:

Sorry, you don't have to downgrade. I thought you were using 5.6. You need to Switch from innodb tô myisam before importing your SQL files.

Please refer to this link

Still not getting the point I'm sorry hehe. Hold on. 

 

Finally!!!! Thank you so much!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...