Hola,
Me gustaría saber como agregar un usuario en MySql desde FiveWin.
Do de esta la wiki..? No la encontré.
Gracias
Dario Fernandez
Enviado desde mi 21081111RG mediante Tapatalk
METHOD AddUser( cHost, cUser, cPassword, cDb, lCreateDB, acPrivilegs, cWithOption )
/*The AddUser() enables system administrators to grant privileges to MySQL user accounts.
AddUser also serves to specify other account characteristics such as use of secure
connections and limits on access to server resources.
To use AddUser(), you must have the GRANT OPTION privilege,
and you must have the privileges that you are granting.*/
oCn:Execute("CREATE USER 'username'@'%' IDENTIFIED BY 'password'")
oCn:Execute("GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON basedatos.* TO 'username'@'%';
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: No registered users and 57 guests