2

This is the first time I am setting up a remote connection and I am doing this.

mysql -u user -password -h dbserver.dev.5bfed886-8150-4a8d-b0d5-4c7cffb5c54c.drush.in -P 11831 dbname

I get this error back.

ERROR 2003 (HY000): Can't connect to MySQL server on 'dbserver.$ENV.$SITE.drush.in' (65)

I have scoured the web I am not able to find a solution, I would appreciate any help. I apologize beforehand if any information is missing (I am a first timer).

4

3 回答 3

2

Try this:

mysql -uuser -p -hdbserver.dev.5bfed886-8150-4a8d-b0d5-4c7cffb5c54c.drush.in -P11831

mysql ask you for password after running

于 2016-04-12T02:40:52.060 回答
1

As the last commenter mentioned, you need to "wake" up the site. However, this can be accomplished just by reloading the homepage.

https://pantheon.io/docs/debug-connections/

Services such as MySQL and SFTP are running; however, the local client is unable to connect due to an idled container or DNS issues. Before further troubleshooting, wake the environment by loading the home page...

于 2018-03-06T19:43:19.683 回答
0

If you're trying to connect to Pantheon (which it looks like you are), you might just need to wake up your instance. I did that with terminus drush --site=[site_name] --env=[environment_name] st where [site_name] is replaced with the machine name of your site and [environment_name] is replaced with the machine name of the environment you wish to awaken.

于 2017-05-30T18:51:53.367 回答