Skip navigation links

MySQL Forums :: Workbench - Database Administration :: Maintaining Functions/Procedures from multiple sites


Advanced Search

Re: Maintaining Functions/Procedures from multiple sites
Posted by: george gallen ()
Date: January 05, 2012 02:02PM

OK. This is what I found:


1. If I create a procedure/function using Workbench and do not include the definer clause (Or if I use the command line interface), The MySQL database puts in the definer clause automatically based on my current IP address.

2. If I try to use a definer clause where the IP address is different from my current IP address, I get an error "Must have SUPER Privleges"

3. If I try to view a procedure/function using Workbench from an ip different from the definer ip address, it fails - no error, just doesn't open up an edit box.

Sounds like my hosting company locked down the procedures/functions so that one user can not view another users procedures based on the definer clause and the IP is part of the user key in the definer clause, so it seems like this is a side effect of the security of the hosting company.

Options: ReplyQuote


Subject Views Written By Posted
Maintaining Functions/Procedures from multiple sites 1171 george gallen 01/04/2012 08:24PM
Re: Maintaining Functions/Procedures from multiple sites 622 Mike Lischke 01/05/2012 03:05AM
Re: Maintaining Functions/Procedures from multiple sites 555 george gallen 01/05/2012 11:07AM
Re: Maintaining Functions/Procedures from multiple sites 866 george gallen 01/05/2012 02:02PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.