MySQL Forums
Forum List  »  Connector/Python

Problem in Inserting Data
Posted by: ali alinia
Date: January 24, 2007 01:13AM

In Python I have a multiline text that each line ends by '\n' character.I want to insert it to my table in mysql.
but when I insert it in my table, It becomes single line text.(type of my target field in table is text)

for example, when I Insert this text: (note that each line ends with '\n' char)
this is a multi-line text,

I get this:
hello, this is a multi-line text,bye

what I must do? and why?
plz help me.
tnx in advance.

Options: ReplyQuote

Written By
Problem in Inserting Data
January 24, 2007 01:13AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.