总是记不住,在此记一下:
mysql>GRANT ALL PRIVILEGES ON *.* TO 'username'@’192.168.1.%’ IDENTIFIED BY 'password' WITH GRANT OPTION; mysql>FLUSH PRIVILEGES;
posted on 2012-07-06 17:37 还是刀哥靠谱 阅读(164) 评论(0) 编辑 收藏 举报