MYSQL 登陆失败

mysql -u root -p

![[Pasted image 20240523210400.png]]

报错

![[Pasted image 20240523210455.png]]

查看文档显示user=zx

![[Pasted image 20240523210529.png]]

用zx登陆

mysql -u zx

成功

![[Pasted image 20240523210630.png]]

尝试修改root密码

update user set password=('password') where user='root'

失败

![[Pasted image 20240523211010.png]]

用另一个命令修改

set password for 'root'@'localhost'=password('password')

成功

![[Pasted image 20240523211045.png]]

NGINX 启动失败
![[Pasted image 20240523235440.png]]

文件: onmp.sh
行:343
fastcgi.conf
改为
fastcgi_params

文件: /opt/etc/nginx/conf/wordpress.conf
行:25
fastcgi.conf
改为
fastcgi_params

修改后启动成功

尚未解决

wordpress 网站提示 file not found