Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $sqlUsuario = "CREATE USER '" . $this->usuarioLogin . "'@'localhost' IDENTIFIED BY '" . $_SESSION['mysqlPass'] . "';";
- $bd->ejecutar($sqlUsuario);
- $sqlUsuario = "GRANT ALL ON . TO '" . $this->usuarioLogin . "'@'localhost' IDENTIFIED BY '" . $_SESSION['mysqlPass'] . "' WITH GRANT OPTION;";
- $bd->ejecutar($sqlUsuario);
- $sqlUsuario = "FLUSH PRIVILEGES;";
- $bd->ejecutar($sqlUsuario);
Add Comment
Please, Sign In to add comment