LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2016, 05:00 AM   #1
EODSteven
Member
 
Registered: Oct 2012
Location: Manchester, Tn
Distribution: Ubuntu 14.04, Windows 8, Windows Server 2012. Ubuntu Server 14.04
Posts: 196

Rep: Reputation: 3
Using PhPMyAdmin Google App on Google Cloud with 2nd generation MySql (Beta)


I have followed the precise instructions on deploying a PhPMyAdmin App on Google Cloud and I can't seem to get it to work. Does the 2nd Generation Mysql not support such a connection so I may quit wasting my time trying to get it to work? The error I keep getting is #2006 MySql Server has gone away. All the fixes I have investigated for this error like increasing Max flags doesn't work. Has anyone successfully set this up on Google Cloud?

Here's an edited Version of config.inc.php if anyone has any ideas..

Code:
<?php

/*
 * This is needed for cookie based authentication to encrypt password in
 * cookie
 * http://www.question-defense.com/tools/phpmyadmin-blowfish-secret-generator
 */
$cfg['blowfish_secret'] = '<SECRET>'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */

/*
 * Servers configuration
 */
$i = 0;

// Change this to use the project and instance that you've created.
$host = '/cloudsql/<gothic-brand-#####>:<us-central1>:<database>';
$type = 'socket';

/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['socket'] = $host;
$cfg['Servers'][$i]['connect_type'] = $type;
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/*
 * End of servers configuration
 */

/*
 * Directories for saving/loading files from server
 */
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

/*
* Other settings
*/
$cfg['PmaNoRelation_DisableWarning'] = true;
$cfg['ExecTimeLimit'] = 60;
$cfg['CheckConfigurationPermissions'] = false;
?>
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2016-02-28 10-49-57.png
Views:	45
Size:	30.7 KB
ID:	20992  

Last edited by EODSteven; 03-01-2016 at 05:08 AM.
 
  


Reply

Tags
google cloud, mysql 5.6, phpmyadmin



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Cloud 5: Rise of cloud service brokers, Four disruptive cloud startups, and Google's enticing LXer Syndicated Linux News 0 09-20-2014 12:14 PM
LXer: Google Drive Linux App `Insync` Beta 4 Adds GNOME Shell, Cinnamon And KDE Support LXer Syndicated Linux News 0 09-09-2012 02:00 PM
[INVITES] Google+ [and Google Music beta] MatejLach General 4 08-27-2011 03:57 PM
LXer: Google Talk #1 – All about App Engine with Google’s Fred Sauer LXer Syndicated Linux News 0 09-06-2010 04:00 PM
LXer: Another Google App., Another Google Yawn LXer Syndicated Linux News 0 06-07-2006 02:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration