MysqliでCouldn’t fetch mysqliなWarning

PHPでMysqliモジュールを使っていて、

Warning: mysqli_query() [function.mysqli-query]: Couldn’t fetch mysqli in hoge~

などと出たら、まずDBとまともに接続出来てるかを疑ったほうがよいです。私の場合はほぼパスワードのタイポ(^_^;)
というわけで、上記エラーが出て困っている方は、ユーザ権限らへんを悉に確認すると吉かもしれません。。

関連する記事:

Powered by

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">