连接linux中的mysql数据库服务器,如何通过Windows机器连接Linux服务器中的mysql数据库...

本文介绍了如何在Linux终端中使用Putty工具安装和配置SSH客户端,连接到远程服务器。通过输入主机名或IP地址,保存会话名称以方便多次登录。首次连接或服务器配置改变时,可能会遇到安全提示,确认后即可继续。最后,输入用户名和密码即可远程登录服务器并连接到MySQL数据库。
摘要由CSDN通过智能技术生成

Follow the following instructions:

1. Open Terminal and type in : sudo apt-get install putty

2. Click Y on subsequent messages that appear and let the installation complete.

To use Putty, go to Menu > Internet > Putty SSH client

To connect to a remote server that supports ssh login , enter the host name or the IP address of the remote host, in case you need to frequently need to login to this server , save the session by naming it something nice.

If the connection is initiated for the first time or if the server hardware configuration has changed, you may see the message. This is to ensure that you are logging in only to the trusted server that you know and not something else.Accept that.

Finally, enter user name and password to login to the server remotely, if all goes well you will see the terminal on the remote end.

connect to mysql :

type mysql -u username -p password

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值