search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

fatal error

Related article: HTML5 Hotel Room Booking (JavaScript/PHP)
Asked by Anonymous
1 year ago.

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'ODBC'@'localhost' (using password: YES)' in C:\wamp\www\tutorial2\_db_mysql.php:9 Stack trace: #0 C:\wamp\www\tutorial2\_db_mysql.php(9): PDO->__construct('mysql:host=loca...', '', 'root') #1 C:\wamp\www\tutorial2\backend_rooms.php(2): require_once('C:\wamp\www\tut...') #2 {main} thrown in C:\wamp\www\tutorial2\_db_mysql.php on line 9

  • what it does mean sir?
Answer posted by Dan Letecky [DayPilot]
1 year ago.

It looks like the 'ODBC' user doesn't have sufficient permissions (to access the database).

See also:
https://dev.mysql.com/doc/refman/5.7/en/privilege-system.html

This question is more than 6 months old and has been closed. Please create a new question if you have anything to add.