Day: February 7, 2018

Linux:SSH 无密码连接到 Google Cloud 实例, FileZilla连接 Google Cloud, IntelliJ IDEA连接 Google Cloud, google cloud compute instance, google cloud platform

1. 通过浏览器连接到实例 直接通过网络浏览器在 Google Cloud Platform 控制台中进行 SSH 连接: In the Cloud Platform Console, go to the VM Instances page.GO TO THE VM INSTANCES PAGE In the list of virtual machine instances, click SSH in the row of the instance that you want to connect to. 通过浏览器连接到实例时需要注意一些事项。如需了解详情,请参阅通过浏览器进行 SSH 连接。   2. 通过命令行连接到实例 您可以使用 gcloud 命令行工具轻松连接到您的… Read More

Shell: 无密码读写Mysql数据库, 无密码被分导出Mysql数据库, mysqldump , Connect to MySQL Without Root Password on Terminal

设置Mysql登录信息 How to Set MySQL Root Password 一般shell连接数据库的方法是: mysqladmin -u root password YOURNEWPASSWORD 无登录链接数据库的方法是创建或者修改 ~/.my.cnf 文件 Now create the config file ~/.my.cnf and add configurations below in it (remember to replace mysqluser and mysqlpasswd with your own values). [mysql] user=user password=password 如果你还是用了mysqldump,那么可… Read More