摘要: update mysql.user set password='newpassword' where user='root'; update mysql.user set password=PASSWORD('newpassword') where User='root'; 这两条修改密码的方式在m 阅读全文
posted @ 2022-03-14 15:28 超ge 阅读(74) 评论(0) 推荐(0)
摘要: 首先进入服务器mysql目录 mysql -uroot -p MySQL [(none)]> show databases; MySQL [(none)]> use mysql; MySQL [mysql]> select User,Host from user; //‘%':表示允许访问到mysq 阅读全文
posted @ 2022-03-14 14:36 超ge 阅读(727) 评论(0) 推荐(0)
摘要: 1、注意:PHP7以前的版本和PHP7之后的版本对MongoDB的操作有所不同 2、php7新增了操作mongoDB工具包 安装命令:composer require mongodb/mongodb 代码: require 'vendor/autoload.php'; // include Comp 阅读全文
posted @ 2021-07-07 18:12 超ge 阅读(300) 评论(0) 推荐(0)