Creating a mysql user

From MyWiki
Jump to: navigation, search

GRANT ALL PRIVILEGES ON <database>.* TO 'newuser'@'localhost';
use the ip as well
GRANT ALL PRIVILEGES ON <database>.* TO 'newuser'@'127.0.0.1';