I'm creating the stored procedure in MySql as like below :
DELIMITER $$
Create procedure LoginVerify (p_UserName varchar(50),p_Password varchar(50))
begin
select UserDetailID, First_Name, Last_Name, Email_Address, `User_Name` from user_details where `User_Name`=p_UserName and `Password`=p_Password
end
DELIMITER ;
After executing the above procedure I'm getting usually an exceptional message as like "sorry an unexpected error happened mysql" How to resolve that ? I had gone through same queries in stackoverflow, As they are saying the problem with delimeters. But I didn't get proper solution.