Posts

Showing posts from 2017

[Bitnami] mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock'

Got into this error while trying to run "mysql_upgrade" command bitnami@server:~$ mysql_upgrade --force -uroot -p Enter password: mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) while connecting to the MySQL server Upgrade process encountered error and will not continue. Solution: Just do a symbolic link for the mysql.sock file. bitnami@server:~$ ln -s /opt/bitnami/mysql/tmp/mysql.sock /tmp/mysql.sock Wahlah! Problem solved! bitnami@vulcan-clients:/tmp$ mysql_upgrade --force -uroot -p Enter password: Checking server version. Running queries to upgrade MySQL server. Checking system database. mysql.columns_priv OK mysql.db OK mysql.engine_cost OK mysql.event OK mysql.func OK mysql.general_log ...

Visual Composer (version 4.4.1) fixes for Wordpress 4.7

Updated to Wordpress 4.7.2 recently and existing theme with old Visual Composer was broken. Searched and tracked the error, and found the following scripts that solves the issues. 1. /wp-content/plugins/js_composer_theme/assets/js/backend/composer-view.js:99 2. /wp-content/plugins/js_composer_theme/assets/js/backend/composer-teaser.js:350