MySQL

Repair MySQL database with mysqlcheck

To check and repair all databases in a database run Forcefully optimize all tables, automatically fixing table errors that may

MySQL Unknown collation: ‘utf8mb4_0900_ai_ci’

MySQL Unknown collation: ‘utf8mb4_0900_ai_ci’

When restoring a MySQL backup taken on MySQL 8 server, i get following error To fix this error, open the

MySQL

How to Install MySQL 5.7 on Amazon Linux

Amazon Linux 2 come with MariaDB by default. To install MySQL 5.7, install repository with Install MySQL 5.7 with Set

MySQL

MySQL Your password does not satisfy the current policy requirements

When i try to create MySQL user on a server, i get following error This is due to MySQL validate

Change MySQL user password

Change MySQL user password

To change the password for a MySQL user, run Or via SQL See MySQL

MySQL MariaDB

MySQL Install

How to Install MySQL 5.7 on Oracle Linux 7

MySQL

Reset MySQL root password on Bitnami server

To reset MySQL root password on Bitnami server, first check MySQL server version you are running. Create a file Add

MariaDB Change Open Files Limit

MariaDB Change Open Files Limit

When using systemctl, you can set value for open_files_limit in my.cnf file. Default installation of MariaDB 10 have open_files_limit set

MySQL Can’t create new tempfile

MySQL Can’t create new tempfile

When i try to repair a crashed database table, i get error Check the table with myisamcheck It reported some

MySQL

Split mysqldump backup file into tables

I had to restore a large MySQL backup file. When restoring one of the table resulted in error. To debug

MySQL

Auto Restart MySQL if Crashed

This bash script is used to auto-restart MySQL or MariaDB database if it crashes or stops for any reason. Create

Find MySQL Database and Table Size

Find MySQL Database and Table Size

To find size of database using SQL command, run following SQL in MySQL promt. Example FInd disk usage by tables