# Application Server: Importing Solution in MySQL

**URL:** <https://forum.servoy.com/t/application-server-importing-solution-in-mysql/10108>\
**Category:** Classic Servoy\
**Created:** [January 8, 2009, 7:53pm UTC](https://forum.servoy.com/t/application-server-importing-solution-in-mysql/10108 "2009-01-08T19:53:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ledergerber](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@ledergerber](https://forum.servoy.com/u/ledergerber)\
**Post date:** [January 8, 2009, 7:53pm UTC](https://forum.servoy.com/t/application-server-importing-solution-in-mysql/10108/1 "2009-01-08T19:53:25Z")

</div>

We are trying to import a Solutions in MySQL

After the import is creating some tables and adding some columns, there is an error in the import log and it stops with the error

[error] java.lang.RuntimeException: com.servoy.j2db.persistence.RepositoryException: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column ‘property\_value’ at row 1

We were trying to import the solution some times, the error accors on different points during the solution imports.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [January 9, 2009, 12:05pm UTC](https://forum.servoy.com/t/application-server-importing-solution-in-mysql/10108/2 "2009-01-09T12:05:12Z")

</div>

could it be that the ‘max\_allowed\_packet’ (size) property is too low?

---

<div class="post-metadata">

**Author:** ![ledergerber](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@ledergerber](https://forum.servoy.com/u/ledergerber)\
**Post date:** [January 9, 2009, 1:00pm UTC](https://forum.servoy.com/t/application-server-importing-solution-in-mysql/10108/3 "2009-01-09T13:00:20Z")

</div>

‘max\_allowed\_packet’ in file my.cnf?  
it is set to 16M

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [January 9, 2009, 1:20pm UTC](https://forum.servoy.com/t/application-server-importing-solution-in-mysql/10108/4 "2009-01-09T13:20:43Z")

</div>

I entered a search request in my browser and the first thing I saw is this:

> [http://bugs.mysql.com/bug.php?id=18908](http://bugs.mysql.com/bug.php?id=18908)

I would read it and see if it applies to you.

---

<div class="post-metadata">

**Author:** ![ledergerber](https://avatars.discourse-cdn.com/v4/letter/l/87869e/32.png) [@ledergerber](https://forum.servoy.com/u/ledergerber)\
**Post date:** [January 11, 2009, 1:57pm UTC](https://forum.servoy.com/t/application-server-importing-solution-in-mysql/10108/5 "2009-01-11T13:57:28Z")

</div>

Marcel, thank you!  
Deleting the solution, the repositoy and importing all again solved the problem!
