PHP Parse Error: syntax error, unexpected $end 错误的解决办

可以在php.ini中设置short_open_tag = On 

第一步,登录到sql命令行

 

第二步,使用sql语句修改root密码

使用sql语句改密码时一定要选中数据库 。使用 use mysql;否则会出错

2016.6.5    孤独夜莺

原文地址:https://www.cnblogs.com/hanqishihu/p/5560671.html