首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

xshell通过渠道创建转移实现本地连接本地无法连接mysql服务

linux问题解决 背景:      公司没有公网IP,阿里云RDS由于安全考虑,需要配置安全IP(一般我们只设置ECS内网的IP能访问),造成平时我们都是从新专门买了一台windows ECS服务器来实现可视化工具管理...RDS,成本增加(还需要说服老板o(╥﹏╥)o) 解决:xshell有一个渠道转移功能,可以实现党我们远程XSHELL连接ECS的时候,设置规则,就能本地访问RDS服务器。...xshell设置方法: 1.查看--->隧道窗格   打开 2.添加转移规则 点击转移规则,在下面空白区域右键添加,写转移规则,目的主机的地址,端口写有权限RDS的地址和端口,侦听端口写本地侦听端口...本地可视化工具连接         主机为localhost,端口3306 发现本地就能连接rds了,连接后界面

39510

navicatmysql连接不上_navicat找不到本地MySQL服务

大家都知道,用Navicat连接数据库一般是这样连得: 问题整理以及解决办法 错误一: 错误原因: 本地IP(xxx.xxx.xxx.xxx)没有访问远程数据库的权限。...于是下面开启本地IP(xxx.xxx.xxx.xxx)对远程mysql数据库的访问权限。...解决办法: 1.首先远程连接进入服务器,在cmd中输入mysql -u root -p,然后回车,输入密码后回车进入mysql命令行。...7.如果还是连接不到,那是不是 MySQL Server 绑定了本地地址,打开 /etc/mysql/my.cnf, 找到:bind-address = 127.0.0.1 去除 IP 地址绑定,把它改为...处理 :启动mysqld 服务 错误三: 防火墙开启了 解决方法: 防火墙需要允许3306端口连接

6K20
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    pycharm本地远程连接服务器,并在本地调试服务器代码

    Projectb Interpreter右侧设置选择Add | SSH Interpreter | Existing server configuration 如图所示5步添加Python解释器,因为之前配置过远程本地服务器...在Mappings选项, 填写本地工程所在位置Local path, 服务器项目所在位置Deployment path(根目录之后的path) 启动SSH Terminal:Tool | Start...补充: 本地服务器是在本局域网内,不用通过因特网或拔号连接服务器,远程服务器 则反之,服务器默认开放端口是1433,要连接时候客户端也要同样要设端口为1433。...Terminal Configuring Synchronization with a Remote Host Creating a Local Server Configuration Pycharm远程连接服务器...,并在本地调试服务器代码 使用PyCharm进行远程开发和调试 ---- Remote Debugging with PyCharm ↩︎

    7.5K20

    让世界连接你的本地服务

    服务器依旧运行在你的本地环境中,使用 ngrok 即可将其暴露给公网,ngrok 会随机生成一个已经验证过的域名地址,外网访问此域名地址,ngrok 则会在自己的服务器上做地址的转换并建立与你本地服务器的连接通道以传递客户端与服务器之间的数据...准备服务器:简单的 hello word 即可,如下图 随后启动原有的 node 服务器,nodemon、forever、pm2 原来是怎么启动的,现在也怎么启动。...见证奇迹的时刻: ngrok http 3000 随后你将会看到下图所示: 咯,公网地址给你了,http 和 https 的都行,为了验证能不能访问,我们在浏览器中输入这个地址试试( 这里没有更改本地...ngrok 在全球有四个服务器,默认使用的是位于美国的服务器,为了提升下响应速度,我们可以使用新加坡的服务器,设置 region 即可: ngrok http 3000 -region ap...其它的 https 服务器也好、授权认证也好、还是 TLS/TCP 连接,ngrok 都没问题,具体怎么用自己看官方文档吧。

    1.9K41

    服务器怎么连接本地硬盘 如何共享本地磁盘数据?

    也因此云服务器逐渐正在取代传统的服务器市场,云计算市场的前景也越来越宽广。云服务器在使用过程当中也会有一系列需要了解的问题,云服务器怎么连接本地硬盘呢? 云服务器怎么连接本地硬盘?...下面来一起了解一下云服务器怎么连接本地硬盘。在系统的默认情况下,本地硬盘是没有挂载到云服务器当中的,因此需要手动操作。首先应该选择要挂载的硬盘,对硬盘进行格式化,格式化了硬盘之后,将硬盘挂到挂载点。...最后一步是给硬盘添加分区表,这个分区表是分区启动表,以便下次重启系统时可以自动连接本地硬盘。这就是云服务器怎么连接本地硬盘的方式。 如何共享本地磁盘数据?...了解了云服务器怎么连接本地硬盘,再来看看如何共享本地磁盘的数据。首先要运行mstsc文件,连接远程桌面,点击选项,在本地资源当中勾选所要访问的磁盘,点击了磁盘名字之后,选择确定然后将页面进行关闭。...然后再连接远程电脑,打开我的电脑就可以看到刚刚连接的硬盘。接下来就可以上传需要复制的文件了。 以上就是云服务器怎么连接本地硬盘的相关内容。

    12.7K20

    本地电脑怎么连接服务器?103.216.154.x

    当我们有了一台属于自己的服务器的时候,想远程桌面连接服务器,怎么连接呢,下面来分享一下方法!...准备工作:服务器(服务器ip,端口,账号密码) 个人电脑第一步在我们的电脑上面按win+R键打开运行,输入“mstsc”,点击确定,如果不知道Win+R怎么打开的朋友我们还可以这样,右键我们的本地电脑开始键...,打开运行,也是一样的第二步进去远程桌面连接界面之后,输入要远程连接服务器ip地址第三步我们也可以在远程桌面连接界面上,点击选项,输入远程连接服务器的地址,名称,勾选“允许我保存凭据”,点击连接第四步可以看到正在远程连接服务器...,需要注意的是远程连接服务器之前,需要服务器已经设置好了允许其他电脑远程连接控制,第五步输入远程连接的用户名和密码,点击确定(由于我的服务器我记住了账号密码,所以这一步跳过,你们正常操作的话是会有的)第六步可以看到已经成功远程连接服务器了...,可以在服务器上进行操作103.216.154.1103.216.154.2103.216.154.3103.216.154.4103.216.154.5103.216.154.6103.216.154.7103.216.154.8103.216.154.9103.216.154.10103.216.154.11103.216.154.12103.216.154.13103.216.154.14103.216.154.15103.216.154.16103.216.154.17103.216.154.18103.216.154.19103.216.154.20103.216.154.21103.216.154.22103.216.154.23103.216.154.24103.216.154.25103.216.154.26103.216.154.27103.216.154.28103.216.154.29103.216.154.30103.216.154.31103.216.154.32103.216.154.33103.216.154.34103.216.154.35103.216.154.36103.216.154.37103.216.154.38103.216.154.39103.216.154.40103.216.154.41103.216.154.42103.216.154.43103.216.154.44103.216.154.45103.216.154.46103.216.154.47103.216.154.48103.216.154.49103.216.154.50103.216.154.51103.216.154.52103.216.154.53103.216.154.54103.216.154.55103.216.154.56103.216.154.57103.216.154.58103.216.154.59103.216.154.60103.216.154.61103.216.154.62103.216.154.63103.216.154.64103.216.154.65103.216.154.66103.216.154.67103.216.154.68103.216.154.69103.216.154.70103.216.154.71103.216.154.72103.216.154.73103.216.154.74103.216.154.75103.216.154.76103.216.154.77103.216.154.78103.216.154.79103.216.154.80103.216.154.81103.216.154.82103.216.154.83103.216.154.84103.216.154.85103.216.154.86103.216.154.87103.216.154.88103.216.154.89103.216.154.90103.216.154.91103.216.154.92103.216.154.93103.216.154.94103.216.154.95103.216.154.96103.216.154.97103.216.154.98103.216.154.99103.216.154.100103.216.154.101103.216.154.102103.216.154.103103.216.154.104103.216.154.105103.216.154.106103.216.154.107103.216.154.108103.216.154.109103.216.154.110103.216.154.111103.216.154.112103.216.154.113103.216.154.114103.216.154.115103.216.154.116103.216.154.117103.216.154.118103.216.154.119103.216.154.120103.216.154.121103.216.154.122103.216.154.123103.216.154.124103.216.154.125103.216.154.126103.216.154.127103.216.154.128103.216.154.129103.216.154.130103.216.154.131103.216.154.132103.216.154.133103.216.154.134103.216.154.135103.216.154.136103.216.154.137103.216.154.138103.216.154.139103.216.154.140103.216.154.141103.216.154.142103.216.154.143103.216.154.144103.216.154.145103.216.154.146103.216.154.147103.216.154.148103.216.154.149103.216.154.150103.216.154.151103.216.154.152103.216.154.153103.216.154.154103.216.154.155103.216.154.156103.216.154.157103.216.154.158103.216.154.159103.216.154.160103.216.154.161103.216.154.162103.216.154.163103.216.154.164103.216.154.165103.216.154.166103.216.154.167103.216.154.168103.216.154.169103.216.154.170103.216.154.171103.216.154.172103.216.154.173103.216.154.174103.216.154.175103.216.154.176103.216.154.177103.216.154.178103.216.154.179103.216.154.180103.216.154.181103.216.154.182103.216.154.183103.216.154.184103.216.154.185103.216.154.186103.216.154.187103.216.154.188103.216.154.189103.216.154.190103.216.154.191103.216.154.192103.216.154.193103.216.154.194103.216.154.195103.216.154.196103.216.154.197103.216.154.198103.216.154.199103.216.154.200103.216.154.201103.216.154.202103.216.154.203103.216.154.204103.216.154.205103.216.154.206103.216.154.207103.216.154.208103.216.154.209103.216.154.210103.216.154.211103.216.154.212103.216.154.213103.216.154.214103.216.154.215103.216.154.216103.216.154.217103.216.154.218103.216.154.219103.216.154.220103.216.154.221103.216.154.222103.216.154.223103.216.154.224103.216.154.225103.216.154.226103.216.154.227103.216.154.228103.216.154.229103.216.154.230103.216.154.231103.216.154.232103.216.154.233103.216.154.234103.216.154.235103.216.154.236103.216.154.237103.216.154.238103.216.154.239103.216.154.240103.216.154.241103.216.154.242103.216.154.243103.216.154.244103.216.154.245103.216.154.246103.216.154.247103.216.154.248103.216.154.249103.216.154.250103.216.154.251103.216.154.252103.216.154.253103.216.154.254103.216.154.255

    67440
    领券