1.首先确认已经启动 OracleOraDb11g_home1TNSListener 服务时,仍无法连接:   2.进入计算机系统属性中查看 Oracle 服务端计算机的全名:   3.进入 Oracle 安装目录下的 dbhome_1\NETWORK\ADMIN 目录下,将 listener.ora 和 tnsnames.ora 文件内的 HOST 项的值修改为当前计算机的全名:   4.重启 OracleOraDb11g_home1TNSListener 服务,再次进行连接确认.   如果已…
原文:https://blog.csdn.net/li_li_lin/article/details/72764683 一.我遇到的问题描述 使用Navicat for mysql连接公司的服务器数据库,报错:Host ‘XXXXXX’ is blocked because of many connection errors 二.出现错误原因 同意ip在短时间内产生太多(超过mysql数据库max_connection_errors的最大值)终端的数据库连接而导致的阻塞: 三.解决方案(根据实际…
今天在电脑上安装了Mysql 8.0.11,然后想用 Navicat Premium连接数据库,结果报错了: error 1251:client does not support authentication protocol requested by server:consider upgrading mysql client 原因是:mysql8 之前的版本中加密规则是mysql_native_password,而在mysql8之后,加密规则是caching_sha2_password, 所…
1. 改表法. 可能是你的帐号不允许从远程登陆,只能在localhost.这个时候只要在localhost的那台电脑,登入MySQL后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改称"%" mysql -u root -p mysql>use mysql; mysql>update user set host = '%' where use…
参考:https://blog.csdn.net/li_li_lin/article/details/72764683和 https://blog.csdn.net/zaishijizhidian/article/details/83338785 登陆mysql或者mariadb的方法:mysql -u root -p…
用Navicat Premium 连接mysql数据库时报错 报错原因:此时的MySQL默认不能远程连接. 解决方案:修改MySQL配置 具体步骤: 1.登陆服务器,进入数据库 mysql -uroot -p密码 查看数据库用户 show databases; 2.切换用户,查看配置 执行命令 use mysql; select host from user where user='root'; 看到如图所示的配置:localhost 3.修改配置 执行如下命令 update user set…
今天连接mysql数据库报错如下: java.sql.SQLException: The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more s…
关于express 连接 mongodb数据库报错 nodejs DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. const mongoose = require('mong…
Navicat Premium连接MySQL数据库没有问题,在连接Oracle数据库的时候报错,提示:ORA-28547:connection to server failed,probable Oracle Net admin error 原因是:navicate Primium版本的OCi和本地数据库的OCI版本不一致. 那么需要用本地Oracle数据库的OCI,可是我本地的没有安装Oracle数据库,是远程的电脑有数据库,本地安装Oracle数据库没有必要,所以就用另一种方式解决问题. 下…
springboot连接MySQL运行报错: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zon…