gpt4 book ai didi

mysql - 我如何通过Windows机器连接到Linux服务器中的mysql数据库

转载 作者:可可西里 更新时间:2023-11-01 11:35:46 25 4
gpt4 key购买 nike

我在windows有一个MYSQL,需要连接linux服务器的MYSQL,但是我想知道有没有什么方法可以在linux服务器上连接MYSQL,而无需在windows中安装MYSQL。

最佳答案

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

关于mysql - 我如何通过Windows机器连接到Linux服务器中的mysql数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11425546/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com