Hi,
I have successfully imported my sql into Google Cloud SQL (MySQL).
I migrated the database to Google Cloud SQL but the whole Wordpress files still remain on my own server.
I have edited the wp-config.php as follow:
/** MySQL database username */
define('DB_USER', 'myuser'); // this is the username under master instance > username
/** MySQL database password */
define('DB_PASSWORD', 'mypass'); // this is the password under master instance > username
/** MySQL hostname */
define('DB_HOST', '35.227.86.242'); // under Connect to this instance > Public IP address > 35.227.86.242
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', 'utf8_general_ci');
But it doesn't work.
I got Error establishing a database connection message.
Helps needed.
Thanks.