یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دورهها
استفاده از تخفیفهاسلام ، من پروژه رو ، رو هاست آپلود کردم ، ولی به دیتابیس متصل نمیشه
Illuminate \ Database \ QueryException
Constructor failed (SQL: select * from `category` where `parent_id` = 0)
/home2/jeejowir/domains/jeejow.ir/public_html/demo/vendor/laravel/framework/src/Illuminate/Database/Connection.php
@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;
}
داخل env مشخصات دیتابیس رو وارد کنید و داخل config/database.php هم ست کنید همون تنظیمات رو
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟