MySQL

ยปTag:MySQL

How to Change Auto Increment Value of MySQL / MariaDB Database

Almost all database tables have a unique column which serves as identifier and has a value that auto_increment by database engine for each new record. The auto increment value is stored in the tables' schema of the [...]

By | 2017-08-06T08:53:01+00:00 August 6th, 2017|Categories: Databases|Tags: , |0 Comments

How to Get Current Auto_Increment Sequence Number for MySQL / MariaDB Table

Most tables in database have a column with auto increment sequence number that serves as unique identifier for the rows of data. The auto_increment value is always set to increase when new data is added to the [...]

By | 2017-08-06T08:50:56+00:00 August 6th, 2017|Categories: Databases|Tags: , , |0 Comments

SQL Command to List & Show All Databases in MySQL & MariaDB

mysql is a simple and easy to use SQL shell with input line editing capabilities that supports interactive and noninteractive use. The hard part of using mysql is that the administrator needs to remember the SQL command [...]

By | 2016-12-09T08:38:23+00:00 December 9th, 2016|Categories: Databases|Tags: , |0 Comments

Display Full SQL Query in Show Processlist of MySQL

In MySQL database system, by default the SHOW PROCESSLIST query displays only first 100 characters of the running SQL query or SQL statement in the Info column. The limited and trimmed length of SQL statement may prevent [...]

By | 2016-12-09T08:38:43+00:00 December 9th, 2016|Categories: Databases|Tags: , , |0 Comments

Upgrade MySQL to MariaDB 10 (Part 2 – Upgrade MariaDB/MySQL 5.5 to Version 10.0)

MariaDB is a relational database management system (rDBMS) that was forked from MySQL, the de-facto database for most popular open-source web platform and apps. MariaDB is intended as the enhanced drop-in replacement for MySQL, so that developers [...]

By | 2016-12-09T08:39:12+00:00 December 9th, 2016|Categories: Databases|Tags: , |1 Comment

Upgrade MySQL to MariaDB 10 (Part 1 – Install MariaDB 5.5)

MariaDB is a relational database management system (rDBMS) that was forked from MySQL, the de-facto database for most popular open-source web platform and apps. MariaDB is intended as the enhanced drop-in replacement for MySQL, so that developers [...]

By | 2016-12-09T08:39:12+00:00 December 9th, 2016|Categories: Databases|Tags: , |0 Comments

Virtualmin: You Do Not Have Access to This MySQL Database After Changing Password

After changing password of MySQL or MariaDB administration user, such as root, Virtualmin no longer has access to the database of the virtual servers. When attempting to manage database of a virtual server via "Edit Databases," Virtualmin [...]

By | 2016-12-09T08:39:14+00:00 December 9th, 2016|Categories: Databases|Tags: , , , |0 Comments

How to Read MySQL Binary Log Files (BinLog) with mysqlbinlog

MySQL database server generates binary log files for every transaction to the databases, provided administrator does not disable or comment out the "log-bin" parameter in my.cny configuration file. The binary log files are written in binary format. [...]

By | 2017-01-08T00:43:43+00:00 January 8th, 2017|Categories: Databases|Tags: , |9 Comments

Check and Optimize MySQL Database Automatically with Crontab/Cron

MySQL is a very popular free yet powerful database system. But even in great databases, the tables may get fragmented with overhead due to continuous update, or delete and insert operation on data stored in database. Beside, [...]

By | 2016-12-09T08:39:19+00:00 December 9th, 2016|Categories: Databases|Tags: |11 Comments

Pin It on Pinterest