数据太长Mysql和python

| MYSQL错误,从android向python发送GPS纬度和经度时
enter code here

def pacman(self):

     while True:

      while True:

        try:
            x1=self.sockfd.recv(2048)
            print x1
            print \"\\n hi\"
            conn.begin()
            x.execute(\"UPDATE location SET x=\'%s\'\"%(x1))
            print \"hi\"
            y1=self.sockfd.recv(2048)
            print y1
            x.execute(\"UPDATE location SET y=\'%s\'\"%(y1))
            conn.commit()

        except ValueError:
                   self.sockfd.send(\"\\nError202:That is not a valid Car Number\")
DataError:(1406,\“数据太长,导致第1行的列'y \'\”)//数据出现 31.3363510530.0845932431.3363510530.0845932431.33635105 !! 尽管并非每次都这样做,但应该怎么做?     
已邀请:
        尝试使用
varchar 256
似乎是
mysql
错误     
        更改列定义,以便所有可能的值都适合其中。     

要回复问题请先登录注册