connecting to database using datatable editor

connecting to database using datatable editor

itresearchitresearch Posts: 2Questions: 2Answers: 0

I received this error

DataTables warning: table id=example - An error occurred while connecting to the database ''. The error reported by the server was: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO). I change line 37 of query.php to static function connect( $user, $pass='', $host='localhost', $port='80', $db='tested', $dsn='' ).
Please any help will be appreciated

Answers

  • tangerinetangerine Posts: 3,348Questions: 36Answers: 394

    Have you checked the value of your $user variable?

This discussion has been closed.