Hi Everyone,
I am trying to make some changes and additions to an existing database.
I have access to the server its running on and i have root access to the database.
It is running on Solaris, so any changes made on the server have to be done at the command line or i connect with the Admin GUI (remotely).
When you create a stored proc with the GUI it puts in a a DEFINER i the form of root@machinename.domain.com
This is fine for new procs, but when i try and edit an existing one which has been created on a different machine i get an error about not being a SUPER user and then deletes the stored procedure from view (i hope not from the DB!!).
So, can anyone tell me how to edit these stored procedures?
I have tried running GRANT ALL ON [db name] to root@mymachine
but that does not work, if i try and add SUPER then i get an error about bad usage of grant command.
I have access to the system to change things, but it seems this situation is caused by the GUI being used to create procedures. Is this a flaw in the GUI or should things be this tied down normally? I can understand why there is the definer option, but should it be used always?
Thanks.
I am trying to make some changes and additions to an existing database.
I have access to the server its running on and i have root access to the database.
It is running on Solaris, so any changes made on the server have to be done at the command line or i connect with the Admin GUI (remotely).
When you create a stored proc with the GUI it puts in a a DEFINER i the form of root@machinename.domain.com
This is fine for new procs, but when i try and edit an existing one which has been created on a different machine i get an error about not being a SUPER user and then deletes the stored procedure from view (i hope not from the DB!!).
So, can anyone tell me how to edit these stored procedures?
I have tried running GRANT ALL ON [db name] to root@mymachine
but that does not work, if i try and add SUPER then i get an error about bad usage of grant command.
I have access to the system to change things, but it seems this situation is caused by the GUI being used to create procedures. Is this a flaw in the GUI or should things be this tied down normally? I can understand why there is the definer option, but should it be used always?
Thanks.