Thursday, September 20, 2018

[google-cloud-sql-discuss] Re: phpMyAdmin - MySQL server has gone away

Hi Amit,

Thanks for getting back. 

Yeah it was the curly bracket were the problem.
I would think it's worth updating the tech note as its not accurate.
The double curly brackets are not highlighted to replace so I would think you leave these as is based on the instructions below:

  1. Paste the new secret in place of {{your-secret}} in config.inc.php.
  2. Replace the value of {{your_connection_string}} (within the $host variable) with the Instance connection name property.

I had a look online and it seems to be a common problem so maybe a lot of people are reading it the same.

Best Regards,
Noel

On Thursday, 20 September 2018 15:44:14 UTC+1, Amit (Google Cloud Support) wrote:

Hi


It seems like you have an internal ticket with us for this case. Per my colleague's feedback on that case, he suggested to check your host in the config.inc.php file. As you already checked this file, he just wanted to make sure you included the region in your host path, as an example:


$host = "/cloudsql/yourProjectID:regionOfTheInstance:SQLinstanceName"


Please let him know if after following those steps, you are able to connect.



On Tuesday, September 18, 2018 at 1:36:03 PM UTC-4, Noel McKeown wrote:
Hi users,

I have setup phpMyAdmin on my app engine to connect to the Cloud SQL instances as per this technote:

I haven't any issue following the guide and phpMyAdmin loads fine.
When I try to login I get the following for all accounts:

phpMyAdmin_FailedLogin.PNG




I had a look everywhere online but can't resolve this. The instance connection name in config.inc.php is correct and IAM should be all setup.


Anyone come across this and have an idea to resolve ?


Many Thanks


--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/cdc7911f-ac74-4285-b2bf-9ce145942ab6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment