centos6.5 编译安装lamp以及相关错误的解决方法

2019-10-13 21:41:38王旭

用户名为root ,密码为MySQL设置时指定的root密码(lampbrother)
 
 
安装过程中大多错误其实为输入错误,可以通过history命令查看历史记录检查。
 
GRANTALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123' WITH GRANT OPTION;
sql语句,不是linux命令
 
Grant all privileges on *.*to ‘root'@'%'identified by ‘123' with grant option