User Tools

Site Tools


info:mysql:user:create
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
info:mysql:user:create [2015-09-24 19:18]
andunix
info:mysql:user:create [2015-09-24 19:19]
andunix
Line 25: Line 25:
 CREATE DATABASE IF NOT EXISTS `{db}`; CREATE DATABASE IF NOT EXISTS `{db}`;
  
-GRANT ALL PRIVILEGES ON '{db}. *  TO '{user}'@'%';+GRANT ALL PRIVILEGES ON `{db}. *  TO '{user}'@'%';
 </code> </code>
  
 {{tag>admin database mysql sql}} {{tag>admin database mysql sql}}
info/mysql/user/create.txt · Last modified: 2016-01-25 11:49 by andunix