Cannot connect to database server

1045: Access denied for user 'spi_root'@'localhost' (using password: YES)Cannot connect to database

Error Error
Fatal error: Call to undefined function getUserID() in /home/httpd/html/smsdrug/template/show_event.php on line 537