数据库\QueryException找不到驱动程序(SQL:插入注册(fname、lname、email、密码、_token)值(rakesh、kumar、rakeshkumarsingh25may@gmail.com、_token)
* @throws \Illuminate\Database\QueryException
*/
protected function runQueryCallback($query, $bindings, Closure $callback)
{
// To execute the statement, we'll simply call the callback, which will actually
// run the SQL against the PDO connection. Then we can calculate the time it
// took to execute and log the query SQL, bindings and time in our memory.
try {
$result = $callback($query, $bindings);
}
// If an exception occurs when attempting to run a query, we'll format the error
// message to include the bindings with SQL, which will make this exception a
// lot more helpful to the developer instead of just the database's errors.
catch (Exception $e) {
throw new QueryException(
$query, $this->prepareBindings($bindings), $e
);
}
return $result;
}发布于 2020-03-23 11:34:44
PHP版本:PHP7.3.12-1 (cli) (构建: 2019 07:34:08) ( NTS )版权(c) 1997-2018年PHP v3.3.12,版权(c) 1998-2018 Zend OPcache v7.3.12-1,版权(c) 1999-2018年
https://stackoverflow.com/questions/60790306
复制相似问题