Keywords: WordPress Multisite - Google Cloud Platform - Technical issue - Secure Connections (SSL/HTTPS)
I deployed Bitnami Wordpress Multisite on Google Cloud Platform. Then I changed default DB_Name and DB_user with DB_Password on wp-config.php of the Wordpress
after creating new database with new user name with password on phpMyAdmin.
I run bncert-tool on SSH of the Google Cloud Platform to create https (SSL) for my different domain multisites: for example, aaa.com and bbb.com.
However I have got an Error : when I summarize the error messages,
Error: Error running /opt/bitnami/apps/wordpress/bnconfig.disabled
--machine_hostname aaa.com: child process exited abnormally
The configuration was applied, but some of the changes could not be applied.
Find the details below.
The configuration report is shown below.
* Changing server name: Error running bnconfig
Then when I tried to resolve the errors, I entered command on SSH of Google Cloud Platform:
sudo ./bnconfig --machine_hostname aaa.com
but another error showed up:
Problem running post-install step. Installation may not complete correctly
Error running /opt/bitnami/mysql/bin/mysql --user=bn_wordpress --host=localhost --socket="/opt/bitnami/mysql/tmp/mysql.sock" --database=bitnami_wordpress -p**** <<"EOF"
UPDATE wp_options SET option_value='http://aaa.com/wordpress' WHERE option_name='siteurl' OR option_name='home';
EOF: mysql.bin: [Warning] Using a password on the command line interface can be insecure.
ERROR 1044 (42000): Access denied for user 'bn_wordpress'@'localhost' to database 'bitnami_wordpress'
Especially, what is curious was that the last error still mentioned the old default database(bitnami_wordpress) and username(bn_wordpress) of the Wordpress though I changed the DB_Name and DB_User on the wp-config.php as describing it above.
How can I resolve the problem and resolve to run the bncert-tool for SSL(https://) ???