User Tools

Site Tools


lemp-install

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
lemp-install [2021/08/11 15:43] gwsadminlemp-install [2021/08/11 15:47] – [Add new SQL user] gwsadmin
Line 265: Line 265:
 sudo mariadb -u root sudo mariadb -u root
  
-create user phpadmin@localhost identified by 'yourpassword';+create user 'phpadmin'@'localhostidentified by 'yourpassword';
  
-grant all privileges on *.* to admin@localhost with grant option;+grant all privileges on *.* to 'phpadmin'@'localhostwith grant option;
  
 flush privileges; flush privileges;
lemp-install.txt · Last modified: 2023/05/17 22:52 by 127.0.0.1