DBへの接続エラー SQLSTATE[HY000] [1045] Access denied for user 'hoge'@'iphoge' (using password: YES) (SQL: select ... from hogetable ) mysql

<p>DB mysql への接続エラー
ちなみにlaravelつかってる</p><p>
SQLSTATE[HY000] [1045] Access denied for user &#39;hoge&#39;@&#39;iphoge&#39; (using password: YES) (SQL: select ... &nbsp;from hogetable )</p><p>
一応こんな感じでユーザつくったらアクセスできた</p><p>CREATE USER &#39;hoge&#39;@&#39;%&#39;;
UPDATE mysql.user SET authentication_string=PASSWORD(&#39;hogehoge&#39;) WHERE User=&#39;hoge&#39; AND Host=&#39;%&#39;;
GRANT ALL PRIVILEGES ON *.* TO &#39;hoge&#39;@&#39;%&#39; IDENTIFIED by &#39;hogehoge&#39; WITH GRANT OPTION;</p>