Category: MySQL

How to Install DBSyncer Data Sync Tool

Project URL: https://gitee.com/ghi/dbsyncer
DBSyncer (abbreviated as dbs) is an open-source data synchronization middleware that supports MySQL, Oracle, SqlServer, PostgreSQL, Elasticsearch(ES), Kafka, File, SQL, and more …

MySQL and MariaDB Version Compatibility

MariaDB is a great open-source MySQL fork alternative (alongside others like Percona MySQL), but before switching from MySQL to MariaDB, you really need to understand the basic version correspondence between them. Otherwise, you’re likely to run into many …

MySQL Benchmarking Tool Sysbench

yum -y install sysbench

echo "* hard nofile 65535
* soft nofile 65535
">>/etc/security/limits.conf

ulimit -a

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlim …

How to Reset a Forgotten MySQL Password

Modify the configuration file and add skip_grant_tables. Edit the configuration file:
vi /etc/my.cnf
Add the following under the [mysqld] section of the configuration file:
skip_grant_tables

Restart MySQL:
service mysqld restart
Access the database without a password and set a new one. Enter without a password:
mysql …

MySQL Error Fix: Your Password Has Expired

Error message as follows:
Error when connecting to server: Your password has expired. To log in you must change it using a client that supports expired passwords.

Log into mysql, set a new password, and set it to never expire:
my …