THE KNOWLEDGE BASE

All articles.

394 notes on Linux, tools and troubleshooting

How to copy a table in MySQL

In MySQL, a table's structure and data can be copied easily. For example, create table_new with the structure and data from table_name as follows.

ezylinux1 min read

How to disable IPv6 on CentOS

There are several ways to disable IPv6. The recommended method is to edit /etc/sysctl.conf rather than disable the IPv6 module, which causes problems with SELinux and other components…

ezylinux1 min read

How to remove/purge MySQL binary logs

MySQL binary logs consume disk space. Configure their expiry carefully and use MySQL commands to purge them rather than deleting files from the operating system.

ezylinux2 min read