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

unxsBind: fixed Initialize GRANT command missing hostname

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/unxsBind/mainfunc.h

    r1190 r1271  
    481481 
    482482        //Grant access privileges. 
    483         sprintf(gcQuery,"GRANT ALL ON %s.* to %s IDENTIFIED BY '%s'", 
     483        sprintf(gcQuery,"GRANT ALL ON %s.* to %s@localhost IDENTIFIED BY '%s'", 
    484484                                                        DBNAME,DBLOGIN,DBPASSWD); 
    485485        mysql_query(&gMysql,gcQuery);