![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
Charles Wong
sugar
展开
-
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;check..
laravel 报错,这个报错很长,如下:SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syn...原创 2019-06-24 12:48:46 · 37233 阅读 · 1 评论 -
Laravel5.5 多表数据处理+事务+try...catch
<?php // 开启事务 DB::beginTransaction(); // 数据处理 try { $user = new User; $user->username = $username; $user->nickname = '测试昵称'; $u...原创 2019-07-22 17:28:29 · 2472 阅读 · 0 评论