write mysql text data