mysql修改root密码 && mysql允许远程连接
修改密码: use mysql update user set password=password('xxx') where user='root' and host='localhost'; 远程连接: grant all privile…
记录学习和工作
修改密码: use mysql update user set password=password('xxx') where user='root' and host='localhost'; 远程连接: grant all privile…
腾讯 的接口是 ,返回数组 http://fw.qq.com/ipaddress 返回值 var IPData = new Array("61.135.152.194","","北京市",""); 新浪 的接口 : http://int.d…
前言 网站发展的初期,由于没有太多访问量,一般来讲只需要一台服务器就够了,这时候应用软件、数据库、文件等所有资源都在一台服务器上。随着用户量和数据文件的增加,单台服务器的性能达到瓶颈,这时候需要把应用软件、数据库和文件资源单独拆分出来,满足…
首先确定apache是使用哪种工作模式 是prefork模式还是worker模式 查看方法 apachectl -l 显示结果: Compiled in modules: core.c mod authn file.c mod authn …
转自http://soluck.iteye.com/blog/2291618 Netdata 是一款 Linux 性能实时监测工具.。以web的可视化方式展示系统及应用程序的实时运行状态(包括cpu、内存、硬盘输入/输出、网络等linux性…
Mysql 安装完客户端连接报错:“Authentication plugin 'caching sha2 password' cannot be loaded: ” 意思是客户端不支持caching sha2 password的加密方式。…
微擎出错信息: Fatal error : Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2054] Server sent charset unknown…
在my.cnf中加一句: default authentication plugin =mysql native password 变成原来的验证方式即可
刚好看到mysql从5.7跳到8,性能据说快上一倍,果断尝鲜! lnmp 基本都弄好了,但是到用php连接Mysql这一步出了岔子。 出错原因 : mysql8 使用 caching sha2 password 的身份验证机制 以往的验证机…