Quantcast
Channel: Mysql – Linux T&T
Browsing latest articles
Browse All 49 View Live

Activating Auditing for MariaDB and MySQL in 5 Minutes

https://mariadb.com/resources/blog/activating-auditing-mariadb-and-mysql-5-minutes

View Article



php7 mysql

source use mysqli or include the following function: https://gist.githubusercontent.com/rubo77/1db052edd8d723b59c79790b42635f1e/raw/ab3b432b5c2a72f337403353b5ecc194e1e711f2/fix_mysql.inc.php...

View Article

mycli: A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.

https://github.com/dbcli/mycli

View Article

mysql 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 Article

cool mysql projects

http://www.proxysql.com/ https://github.com/github/orchestrator MHA Quick Start Guide

View Article


quick 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 Article

mysql 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 Article

automysql 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 Article


How 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 Article


mysql 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
Browsing latest articles
Browse All 49 View Live




Latest Images