{"author_url":"https://blog.hatena.ne.jp/lesamoureuses/","provider_url":"https://hatena.blog","width":"100%","blog_title":"\u3053\u3093\u306b\u3061\u306f\u3053\u3093\u306b\u3061\u306fmonmon\u3067\u3059\uff01","image_url":null,"published":"2012-05-26 18:56:49","provider_name":"Hatena Blog","height":"190","url":"https://monmon.hateblo.jp/entry/20120526/1338026209","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmonmon.hateblo.jp%2Fentry%2F20120526%2F1338026209\" title=\"CakePHP\u3067DB\u306eException\u304c\u8d77\u3053\u3063\u305f\u6642\u306b\u3069\u3046\u3044\u3046SQL\u3092\u6295\u3052\u305f\u305f\u3081\u304b\u3092\u30ed\u30b0\u306b\u5410\u304f - \u3053\u3093\u306b\u3061\u306f\u3053\u3093\u306b\u3061\u306fmonmon\u3067\u3059\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u4f55\u304b\u5909\u306aquery\u3092MySQL\u306b\u6295\u3052\u3066\u3057\u307e\u3063\u3066 2012-05-26 18:23:21 Error: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`test`.`user_logs`, CONSTRAINT `user_logs_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)) \u307f\u305f\u3044\u306a\u611f\u3058\u3067PDOException\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306b\u3001\u2026","blog_url":"https://monmon.hateblo.jp/","title":"CakePHP\u3067DB\u306eException\u304c\u8d77\u3053\u3063\u305f\u6642\u306b\u3069\u3046\u3044\u3046SQL\u3092\u6295\u3052\u305f\u305f\u3081\u304b\u3092\u30ed\u30b0\u306b\u5410\u304f","version":"1.0","author_name":"lesamoureuses","type":"rich","categories":["mysql","CakePHP"]}