Dear @davidg,
here is my.cnf file content below:
[mysqladmin]
user=root
[mysqld]
basedir=/opt/bitnami/mysql
datadir="/opt/bitnami/mysql/data"
port=3306
socket=/opt/bitnami/mysql/tmp/mysql.sock
tmpdir=/opt/bitnami/mysql/tmp
max_allowed_packet=32M
bind-address=127.0.0.1
skip-name-resolve=1
expire_logs_days=7
character-set-server=utf8mb4
collation-server=utf8mb4_general_ci
default-authentication-plugin=mysql_native_password
[client]
port=3306
socket=/opt/bitnami/mysql/tmp/mysql.sock
default-character-set=utf8mb4
[manager]
port=3306
socket=/opt/bitnami/mysql/tmp/mysql.sock
pid-file=/opt/bitnami/mysql/tmp/manager.pid
default-mysqld-path=/opt/bitnami/mysql/bin/mysqld.bin
!include /opt/bitnami/mysql/bitnami/my.cnf
there is no entry in my.cnf that says sql_log_bin or set_log_bin . I tried add the same entry on my own into the file yet not of any help.
tried 2nd command and here is the return:
aqeel116@bitnami-wordpresspro-4300:~$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/bitnami/mysql/tmp/mysql.sock' (2)
aqeel116@bitnami-wordpresspro-4300:~$
also on root it returned same results. I tried making new sql instance in google cloud platform and installed mysql yet nothing below i tried stopping all services and then restarting them but mysql again failed to start.
root@bitnami-wordpresspro-4300:/opt/bitnami/mysql/bitnami# sudo /opt/bitnami/ctlscript.sh stop
/opt/bitnami/nginx/scripts/ctl.sh : Nginx stopped
/opt/bitnami/php/scripts/ctl.sh : php-fpm stopped
/opt/bitnami/mysql/scripts/ctl.sh : mysql not running
root@bitnami-wordpresspro-4300:/opt/bitnami/mysql/bitnami# sudo /opt/bitnami/ctlscript.sh status
Nginx not running
php-fpm not running
mysql not running
root@bitnami-wordpresspro-4300:/opt/bitnami/mysql/bitnami# sudo /opt/bitnami/ctlscript.sh restart
/opt/bitnami/nginx/scripts/ctl.sh : Nginx not running
/opt/bitnami/php/scripts/ctl.sh : php-fpm not running
/opt/bitnami/mysql/scripts/ctl.sh : mysql not running
/opt/bitnami/mysql/scripts/ctl.sh : mysql could not be started
/opt/bitnami/php/scripts/ctl.sh : php-fpm started
/opt/bitnami/nginx/scripts/ctl.sh : Nginx started
root@bitnami-wordpresspro-4300:/opt/bitnami/mysql/bitnami#
Please do the need full and confirm.
Here is a new support ID I just collected again. 11b854d7-b110-1288-33a8-4b3d8dd80fee