Activating Auditing for MariaDB and MySQL in 5 Minutes
https://mariadb.com/resources/blog/activating-auditing-mariadb-and-mysql-5-minutes
View Articlephp7 mysql
source use mysqli or include the following function: https://gist.githubusercontent.com/rubo77/1db052edd8d723b59c79790b42635f1e/raw/ab3b432b5c2a72f337403353b5ecc194e1e711f2/fix_mysql.inc.php...
View Articlemycli: A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.
https://github.com/dbcli/mycli
View Articlemysql mariadb Too many open files
grep DefaultLimitNOFILE /etc/systemd/*.conf /etc/systemd/system.conf:DefaultLimitNOFILE=65535 /etc/systemd/user.conf:DefaultLimitNOFILE=65535 show variables like '%limit%'; grep 'open files' /proc/$(...
View Articlecool mysql projects
http://www.proxysql.com/ https://github.com/github/orchestrator MHA Quick Start Guide
View Articlequick mysql master slave replication
apt install mariadb-server master: server-id = 1 log_bin = /var/log/mysql/mysql-bin.log expire_logs_days = 10 max_binlog_size = 100M sync_binlog = 1 binlog_format=ROW bind-address = x.x.x.x restart...
View Articlemysql logrotate_script: 3: [: /var/run/mysqld/mysqld.pid: unexpected operator
my_print_defaults --mysqld | grep -oP "pid-file=K[^$]+" and this generates on my machine two identical lines of output: /var/run/mysqld/mysqld.pid /var/run/mysqld/mysqld.pid So I added " | uniq" after...
View Articleautomysql bug
Problem: mysqldump: Got error: 1556: You can't use locks with log tables when using LOCK TABLES Solution: DBNAMES=`mysql --defaults-file=/etc/mysql/debian.cnf --execute="SHOW DATABASES" | awk '{print...
View ArticleHow to Show the Collation of a Database in MySQL
USE Music; SELECT @@character_set_database, @@collation_database; How to Show the Collation of a Database in MySQL
View Articlemysql problem
Automysqlbackup reported: Cannot proceed because system tables used by Event Scheduler were found damaged at server start Solution: mysql_upgrade -u root -h localhost -p --verbose...
View Article
More Pages to Explore .....