摘要:
location / { if (!-e $request_filename){ rewrite ^/index.php/(.*)$ /index.php?s=$1 last; rewrite ^/admin.php/(.*)$ /admin.php?s=$1 last; rewrite ^(.*) 阅读全文
摘要:
1.登录数据库 mysql -u root -p 2.创建数据库 CREATE DATABASE test; 3.添加用户 create user 'test'@'localhost' identified by '1234'; 4.刷新权限,并给用户分配数据库权限 use mysql; flush 阅读全文