رفتن به مطلب
انجمن پشتیبانی لاراول ایران

هاست لاراول با پشتیبانی 24 ساعته و امکانات کامل از مدیرهاست

kalvin

خطای migrateدر اولین اجرای اون در اوبونتو و لوکال هاست

Recommended Posts

سلام دوستان

من تازه دارم لاراول رو یاد میگیرم و سیستم عاملم اوبونتو هستش و ورژن php بنده 7.4.10 هستش.

وقتی دستور migrate رو اجرا میکنم که جدول های دیتابیس ساخته بشه این ارور رو میده : 

عکس فایل env رو هم فرستادم٫ تو تصویر گوشه سمت چپ دیتابیس testDb رو هم میتونید توی MySql ببینید

 Illuminate\Database\QueryException 

  could not find driver (SQL: select * from information_schema.tables where table_schema = laravel and table_name = migrations and table_type = 'BASE TABLE')

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
    667         // If an exception occurs when attempting to run a query, we'll format the error
    668         // message to include the bindings with SQL, which will make this exception a
    669         // lot more helpful to the developer instead of just the database's errors.
    670         catch (Exception $e) {
   671             throw new QueryException(
    672                 $query, $this->prepareBindings($bindings), $e
    673             );
    674         }
    675 

      +37 vendor frames 
  38  artisan:37
      Illuminate\Foundation\Console\Kernel::handle()

Screenshot from 2020-09-27 11-28-10.png

Share this post


Link to post
Share on other sites

هاست لاراول با پشتیبانی 24 ساعته و امکانات کامل از مدیرهاست

وارد این گفتگو شوید

میتوانید پیام خود را ارسال کنید و بعد ثبت نام نمایید. در صورتی که حساب کاربری دارید, هم اکنون وارد شوید و در این گفتگو شرکت کنید.

مهمان
پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  Only 75 emoji are allowed.

×   لینک شما به صورت اتوماتیک جایگذاری شد.   نمایش به عنوان یک لینک به جای

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • جدید...