Skip navigation links

MySQL Forums :: Connector/Python :: Problem in Inserting Data


Advanced Search

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

hi,
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)
----------
hello,
this is a multi-line text,
bye
----------

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


Subject Written By Posted
Problem in Inserting Data ali alinia 01/24/2007 01:13AM
Re: Problem in Inserting Data stefan sonnenberg 01/30/2007 05:51AM


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.