Buenos dias
Con TDolphin tengo esta función :AddUser( "%", AllTrim(cUser), AllTrim(cPswUser), shIni["MARIADB"]["database"],, "CREATE,INSERT,UPDATE,DELETE,SELECT,CREATE VIEW,SHOW VIEW" )
Cual es su equivalente con FWNativo
gracias
oServer:Query("CREATE USER 'Roberto'@'localhost' IDENTIFIED BY 'rober'")
oServer:Query("GRANT ALL PRIVILEGES ON * . * TO 'Roberto'@'localhost'")
oServer:Query("FLUSH PRIVILEGES")
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: No registered users and 42 guests