Changeset 1272

Show
Ignore:
Timestamp:
03/17/10 15:51:43 (2 years ago)
Author:
Hugo
Message:

unxsXXX: ticket #122, unxsRadius/unxsRadacct/mainfunc.h GRANT fix

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/unxsMail/mainfunc.h

    r1147 r1272  
    511511 
    512512        //Grant access privileges. 
    513         sprintf(gcQuery,"GRANT ALL ON %s.* to %s IDENTIFIED BY '%s'", 
     513        sprintf(gcQuery,"GRANT ALL ON %s.* to %s@localhost IDENTIFIED BY '%s'", 
    514514                                                        DBNAME,DBLOGIN,DBPASSWD); 
    515515        mysql_query(&gMysql,gcQuery); 
  • trunk/unxsRadius/unxsRadacct/mainfunc.h

    r79 r1272  
    714714 
    715715        //Grant localaccess privileges. 
    716         mysql_query(&gMysql,"GRANT ALL ON unxsradacct.* TO mysqlradacct2@localhost IDENTIFIED BY 'wsxedc'"); 
     716        mysql_query(&gMysql,"GRANT ALL ON unxsradacct.* TO unxsradacct@localhost IDENTIFIED BY 'wsxedc'"); 
    717717        if(mysql_errno(&gMysql)) 
    718718        {