configure: error: “mysql headers missing.”

When compiling a software from source I get error checking mysql/mysql.h usability… no checking mysql/mysql.h presence… no checking for mysql/mysql.h… no configure: error: “mysql headers missing.” On Debian 10, fixed it by installing package default-libmysqlclient-dev apt install -y default-libmysqlclient-dev See Errors

CURL ERROR 7 could not establish a secure connection to WordPress.org

WordPress

On a WordPress website hosted on a CentOS server, I got the following error on the header of the website. Warning: An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. … Read more

MySQL Specified key was too long; max key length is 767 bytes

When restoring a MySQL database, I got the error “Specified key was too long; max key length is 767 bytes”. user@host [~]$ mysql new_db < wordpress-2021-12-19-b51f8a6.sql ERROR 1071 (42000) at line 745 in file: 'wordpress-2021-12-19-b51f8a6.sql': Specified key was too long; max key length is 767 bytes user@host [~]$ MySQL version 5.6 and older versions have ... Read more