随笔记录
-
Mysql数据库远程连接提示:ERROR 1049 (42000): Unknown database ‘root’
Mysql数据库远程登录提示:ERROR 1049 : Unknown database ‘root’ 当初刚装MySQL的时候,到网上查的命令行登陆MyS…
-
远程mysql_java.sql.SQLException: null, message from server: “Host ‘xxx’ is not allowed to connect
远程mysql_java.sql.SQLException: null, message from server: “Host ‘xxx’ is…
-
解决java.sql.SQLException: null, message from server: “Host ‘XXX’ is not allowed to connect异常
项目访问数据库时报的这个异常。这个异常是数据库只允许localhost或127.0.0.1访问,不允许远程访问。我用的本机IP都不行。 解决办法:修改访问权限即可。 打开cmd,进…
-
连接失败!null, message from server: “Host ‘xxxx‘ is not allowed to connect to this MySQL server“
连接数据库,这里以默认用户名密码为例mysql -uroot -prootshow databases;use mysql ;select user,host from user;…
-
配置mysql允许远程连接的方法
配置mysql允许远程连接的方法 默认情况下,mysql只允许本地登录,如果要开启远程连接,则需要修改/etc/mysql/my.conf文件。 一、修改/etc/mysql/my…
-
配置mysql 允许远程连接的方法(包括服务器配置、MySQL数据库配置)
一般情况分三个地方准备,MySQL数据库,防火墙,还有你的服务器主机的准备 操作系统为centos6.5。其他系统大致差不多。 1:在服务器中安装mysql,具体安装…
-
Linux关闭防火墙命令
一、下面是red hat/CentOs7关闭防火墙的命令! 1:查看防火状态 systemctl status firewalld service iptables status…
-
Linux下设置mysql允许远程连接
Linux下设置mysql允许远程连接 最近在Linux上安装了Mysql,然后在Windows环境下通过Navicat来连接时,出现报错:1045 Access denied f…
-
迁移阿里云RDS数据库报错:[ERR] 3161 – Storage engine MyISAM is disabled (Table creation is disallowed).
前两天购买了一台阿里云RDS数据库,然后本地库迁移到云,在导入一个SQL文件的时候报错:[ERR] 3161 – Storage engine MyISAM is di…
-
查找让mysql cpu达到100%的罪魁祸首
查找让mysql cpu达到100%的罪魁祸首今天服务器速度非常慢我开始查找原因 free -mtotal used free shared buffers cachedMem: …