摘要: __FILE__=D:\Soft\xampp\htdocs\test\test.php __DIR__=D:\Soft\xampp\htdocs\test getcwd()=D:\Soft\xampp\htdocs\test $_SERVER["SCRIPT_FILENAME"]=D:/Soft/x 阅读全文
posted @ 2019-04-14 23:46 泥土里的绽放 阅读(891) 评论(0) 推荐(0) 编辑
摘要: php artisan key:generate 阅读全文
posted @ 2019-04-14 23:43 泥土里的绽放 阅读(569) 评论(1) 推荐(0) 编辑
摘要: use mysql; create user 'usrabc'@'%' identified by 'usrabc'; // %表示任何一个ip都可以登陆grant all privileges on *.* to root@'%' identified by '你为root设置好的密码'; flush privileges; 阅读全文
posted @ 2019-04-14 23:42 泥土里的绽放 阅读(110) 评论(0) 推荐(0) 编辑
摘要: ALTER USER USER() IDENTIFIED BY '123456';https://majing.io/posts/10000005531181 阅读全文
posted @ 2019-04-14 23:41 泥土里的绽放 阅读(818) 评论(0) 推荐(0) 编辑
摘要: 1. 生成密钥对 2. 将公钥传到远程 3. 开启远程主机访问 阅读全文
posted @ 2019-04-14 23:37 泥土里的绽放 阅读(3090) 评论(0) 推荐(0) 编辑
摘要: 出现报错: 解决方法: 阅读全文
posted @ 2019-04-14 23:32 泥土里的绽放 阅读(834) 评论(0) 推荐(0) 编辑
摘要: GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.1.8' IDENTIFIED BY 'www.linuxidc.com' WITH GRANT OPTION; // 给某个服务器赋予权限 阅读全文
posted @ 2019-04-14 23:07 泥土里的绽放 阅读(786) 评论(0) 推荐(0) 编辑
摘要: mysql 一、启动方式 1、使用 service 启动:service mysqld start 2、使用 mysqld 脚本启动:/etc/inint.d/mysqld start 3、使用 safe_mysqld 启动:safe_mysqld& 二、停止 1、使用 service 启动:ser 阅读全文
posted @ 2019-04-14 22:49 泥土里的绽放 阅读(596) 评论(0) 推荐(0) 编辑