'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY000]: General error' ã¨ã¯ ï¼ã¤ã®ã¡ã½ããå ã§è¤æ°ã®$db->query()ãå®è¡ããã¨ãä¸è¨ã®ãããªã¨ã©ã¼ãåºããã¨ãããã¾ãã exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY000]: General error: 2050 ' ã¨ã©ã¼ãåºããã§ãªããã¯ç°å¢ã«ãã£ã¦ãç°ãªãããã§ã ä¾ãã°Windowsãµã¼ãã§ã¯åºãªããã©ãLinuxãµã¼ãã ã¨åºãã¨ãããã¨ãããããã§ãã PHPã®ããã¥ã¢ã«ã«ã¯ä»¥ä¸ã®ããã«ããã¾ãã PDO::query() ã次ã«ã³ã¼ã«ããåã«çµæã»ããå ã®å ¨ã¦ã®ãã¼ã¿ãåå¾ããªãå ´åããã®ã³ã¼ã«ã¯å¤±æãã¾ãã PDOStatement::closeCu
éå¢ã®ã³ã¼ã解æãã¦ã Django å´ã§ã¯ models.CharField 㧠255 ã¾ã§ã¯ããããã«ãããã£ã¼ã«ããããããç¨æãã¦ããã¦ããããé©å® int ã string ã boolean ã datetime ã§æ¬ä¼¼çã«å¦çãããã¨ããã¡ãã£ã¨è¤éãªãã£ã¼ã«ããããã®ã ãã©(ã¾ãã¡ãã£ã¨æ £ãããããããã·ã¹ãã ã¯ããããã ã)ãããã§ä¸æ£ãªãã¼ã¿(boolean ã§ãããã¹ããã£ã¼ã«ãã«æååãããã¦ãã)ã§ãããã¨ã¯ããã£ã¦ããããããããªããã®ã¨ã©ã¼ãã§ããããããªãã£ããã¨ã©ã¼ã®æå³èªä½ã¯ããã®ã«ã©ã ã«ã¯ãããããªãããåãè©°ãã¦ããã¦ãããããã¨ãããã®ã ãã©ãããã Django å´ã§ã¯ã¨ã©ã¼ã¨ãã¦è½ã¨ãã¦ãã¾ã£ã¦ããããã ã£ãã çµå±ããã¯2段éã®ãã£ã¼ã«ãè¨è¨ã«ãªã£ã¦ãã¦ããä¸æçã«ç»é²ãããã£ã¼ã«ãâæ£å¼ã«ç»é²ãããã£ã¼ã«ããã¨ããã®ãç¨æãã¦ãã£ãããã®
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}