文件名称:部署wordpress.txt
文件大小:6KB
文件格式:TXT
更新时间:2023-01-07 13:22:25
wq
| test | | wordpress | +--------------------+ 4 rows in set (0.00 sec) mysql> create user wpuser@localhost; Query OK, 0 rows affected (0.00 sec) mysql> use mysql; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> select User from user; +--------+ | User | +--------+ | root | | | | root | | | | root | | wpuser | +--------+ 6 rows in set (0.00 sec) mysql> update user set password = password("wppassword") where User = 'wpuser'; Query OK, 1 row affected (0.00 sec) Rows matched: 1 Changed: 1 Warnings: 0 mysql> GRANT ALL PRIVILEGES ON wordpress.* TO wpuser@localhost IDENTIFIED BY 'wppassword'; Query OK, 0 rows affected (0.00 sec) mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> exit; Bye ---------------------------------