Is MySQL caching occurring, how to fix it?
- by rlb.usa
I think that MySQL or ASP.NET is caching my queries.
I edited my MySQL sproc to remove some parameters but it keeps saying that those parameters are missing. Here is what happens:
ASP.NET app calls a MySQL stored procedure.
Everything works perfect.
I delete some parameters from the sproc and ASP.NET parameter list accordingly.
All parameters exactly match in case and order from the new ASP.NET and MySQL sproc code
Upon execution, it fails, saying :
System.ArgumentException: Parameter 'deleted_parameter_foo_bar' not found in the collection. at MySql.Data.MySqlClient.MySqlParameterCollection ...
I delete the sproc from the database, restart my browser, and reexecute the ASP.NET page. It says the same error, that the parameter is missing - but the sproc itself doesn't exist anymore. ( I know 100% that I am editing/deleting from the right database. )
How do I fix this or make it work again; I want it to use my new sproc instead of the old one ? _o