I downloaded the latest current release from CVS and installed it successfully. I ran the command ./mserver5 at the UNIX prompt and executed the following command:
>clients.changePassword("monetdb","monetdb1") ;
I didn't get any error so I assumed it worked. But when I tried to connect using the new password from "mclient" it didn't work, but worked with the default password. So I tried to change the password again using the above command and now I am getting the following error:
!InvalidCredentialsException:changePassword:Access denied
#function user.main():void;
# clients.changePassword("monetdb","csdb");
#end main;
-Venks
On Dec 4, 2007 9:45 AM, Romulo Goncalves <
R.A.Goncalves@cwi.nl> wrote:
Venks wrote:
> I started mserver5 by just executing ./mserver5. I am getting the
> following error when I execute changePassword.
>
> !TypeException:user.main[1]:'user.changePassword
' undefined in: _1:any
> := user.changePassword(_2:str, _3:str)
>
> Please let me know if I am missing something.
Update your sources and then the command (to run in the mserver5) should be:
clients.changePassword(<old_password>, <new_password>);
restart mserver and then start your SQL adventure...
I forgot to tell you that you need also to use the module name (in this
case clients) to call the function ;)
I just tested it in the current and stable and it works.