标签:
发布地址 /srv/www/wx
默认mysql 外部访问权限关闭
设置mysql密码,并开启远程权限:
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘yourpassword‘ WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> EXIT
另:注意数据库没有导入,index.php会是空白
标签:
原文地址:http://www.cnblogs.com/bmbh/p/4624350.html