Hugh
>However, the best place for it is as a server-side function, which MySQL
>v.5 now allows. So I have re-written it as a server-side function and
>tried to run it, but it only works so long as I log in as root. Any
>other user throws up an error, regardless of permissions granted. And
>even logged in as root, I cannot GRANT permission to EXECUTE for any
>other user.
Sounds like the mysql.procs table is missing or incomplete. Did you run
mysql_fix_privilege_tables.sql?
PB
H O de Saram wrote:
>Database Manager
>Marlborough College
>
>I have written a little routine that returns somebody's age from a
>date-of-birth input, and it has always worked perfectly as part of a
>client-side front end.
>
>However, the best place for it is as a server-side function, which MySQL
>v.5 now allows. So I have re-written it as a server-side function and
>tried to run it, but it only works so long as I log in as root. Any
>other user throws up an error, regardless of permissions granted. And
>even logged in as root, I cannot GRANT permission to EXECUTE for any
>other user.
>
>What's happening here???
>
>Hugh de Saram
>
>
>
>
>
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 11/8/2005