Created
May 8, 2014 09:34
-
-
Save genedna/49b6c5dc56fae7a03ede to your computer and use it in GitHub Desktop.
MySQL 日常操作的一些 SQL 语句
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
INSERT INTO mysql.user(Host,User,Password) VALUES ('localhost', 'arkors', password('arkors')); | |
FLUSH PRIVILEGES; | |
CREATE DATABASE `arkors_test` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; | |
GRANT ALL PRIVILEGES ON arkors_test.* TO arkors@localhost IDENTIFIED BY 'arkors'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment