I am getting the following error on calling a MySql stored procedure from phpMyAdmin
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
I am using
call get_ledger_name(2007);
to call the procedure
I have tried changing password for root, creating a new user, but the error still prevails.
Alter stored procedure with DEFINER=root@localhost and then call this SP. It will run.
Try this: