スポンサーサイト

2023.04.20 Thursday
0

    一定期間更新がないため広告を表示しています

    category:- | by:スポンサードリンク | - | - | -

    php artisan migrate でエラーがでてはまる → 解決済

    2020.05.06 Wednesday 11:17
    0

      laravelで環境構築してて
      # php artisan migrate でエラーがでてはまる
      原因はユーザ作成してなかったから
      そりゃユーザなかったらそうだよね
      phpmyadminで、ユーザ作成したら解決したよ


      以下エラーログ
      [Note] Access denied for user 'test'@'xxx.xxx.xxx.xxx' (using password: YES)
       

       

      # php artisan migrate

      Illuminate¥Database¥QueryException

        SQLSTATE[HY000] [1045] Access denied for user 'test'@'xxx.xxx.xxx.xxx' (using password: YES)

        (SQL:  select* from information_

      schema.tables where table_schema = test and table_name = migrations and table_type = 'BASE TABLE')


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

      +34 vendor frames
      35 artisan:37
      Illuminate¥Foundation¥Console¥Kernel::handle(Object(Symfon11y¥Component¥Console¥Input¥ArgvInput), Object(Symfony¥Component¥Console¥Output¥ConsoleOutput))

      category:Laravel | by:ittoocomments(0) | - | -

      スポンサーサイト

      2023.04.20 Thursday 11:17
      0
        category:- | by:スポンサードリンク | - | - | -
        Comment








           

        ad
        Calender
             12
        3456789
        10111213141516
        17181920212223
        24252627282930
        31      
        << March 2024 >>
        Selected entry
        PR
        Category
        Archives
        Recommend
        Link
        Profile
        Search
        Others
        Mobile
        qrcode
        Powered
        無料ブログ作成サービス JUGEM