Created
February 28, 2018 22:14
-
-
Save wilxsv/fe1d79113d9e6ad7f36a30f54601a555 to your computer and use it in GitHub Desktop.
creacion de usuarios en mysql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--Se crea el usuario | |
CREATE USER t3mp0r4lp57@localhost IDENTIFIED BY ‘############’; | |
--Se define limite consultas | |
GRANT USAGE ON *.* TO t3mp0r4lp57@localhost IDENTIFIED BY ‘############’ WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; | |
--Se crea una base de datos [opcional] | |
CREATE DATABASE IF NOT EXISTS t3mp0r4lp57; | |
--Se otorgan privilegios sobre la base | |
GRANT ALL PRIVILEGES ON t3mp0r4lp57.* TO t3mp0r4lp57@localhost; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment