How to rebuild ELPA packages after upgrade of Emacs

You do not need to re-install all packages. The packages itself are likely fine, however, they need to be re-compiled, because Emacs Lisp byte code is generally not compatible across major versions. To re-compile all packages, type M-: (byte-recompile-directory package-user-dir nil ‘force). After restarting Emacs, packages should work fine again.

Updating packages in Emacs

In order to automatically update the list of packages, only if there is no package list already, use the following: (when (not package-archive-contents) (package-refresh-contents)) In order to update all installed packages, type package-list-packages, which will take you to the *Packages* buffer (and also update the list of packages), and then type U x. package-refresh-contents unconditionally … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)