My SQL Errors Debug..

MySQL Error:Access denied for user 'root'@'localhost' (using password: NO)
Query Result:select * from adv where N_YN = 1 and N_Class != 3 and (N_ST <= '2015-01-26' and N_ET >= '2015-01-26') Order By N_Order ASC,N_Key DESC