MySQL Database Character Set and Collation
To change MySQL database char set and collation, run To usee current char set and collation, run You can specify
MySQL cannot connect via localhost
On an Apache server, MySQL can’t connect when you use localhost, but it work when you chane to IP address
Install LAMP Server on Ubuntu/Debian
To install LAMP (Apache, MySQL, PHP) on Ubuntu/Debian web server, run This use meta package install LAMP. If you want
EasyEngine Connect to MySQL Database
To Find MySQL root password on EasyEngine, run Or To connect to MySQL console, run See EasyEngine
MySQL ERROR 1193 Unknown system variable GTID_PURGED
When restoring MySQL backup taken on Amazon RDS, i get error To fix this, open db.sql in text editor, remove
MySQL create database
To create a database, you can use Example To create a database with specific charset use Or You can use
MySQL root password in VestaCP
In VestaCP server, MySQL root password is stored in file /usr/local/vesta/conf/mysql.conf, to find MySQL root password, run
MySQL 8
MySQL 8 Your password does not satisfy the current policy requirements ERROR 1045 (28000): Plugin caching_sha2_password could not be loaded
Disable MySQL bin log on Bitnami
if you have cloud sevrer with less disk space, it is better disable MySQL bin log as it take approx
MySQL server has gone away
When restoring a MySQL database, i get error “MySQL server has gone away”. To fix this, edit MySQL configuration file.
Aria engine is not enabled or did not start
When starting MaraDB, i got error To fix error, remove the file
Ubuntu 18.04 MariaDB 10.2 Too many open files
On my computer running Ubuntu 18.04, MriaDB stopped working. PHP application i run on my computer failed with error Application