In Mysql servers, the following methods can be used to find where the error log file is. Find where the Error Log is with SELECT …
Read More »MySQL-MariaDB
The table ‘X’ is full error in MySQL
In MySQL NDB Cluster databases, when the data memory is full, “The table is full” error occurs in all operations in the tables. To resolve …
Read More »How to convert timestamp to datetime and datetime to timestamp in MySQL
You can use the below functions to convert the timestamp to date and date to timestamp. timestamp to date -> from_unixtime() date to timestamp -> …
Read More »How To Check Connected Users in MySQL
To check connected users in MySQL database and what operations are performed, we can use mysql cli or we can obtain same information through queries. …
Read More »How To Reset MySQL root Password
The MySQL root password allows the root user full access to the MySQL database. If you do not remember the root password of the mysql …
Read More »Handy Query : List of MySQL Tables Without Primary Key
Here is my favorite handy query to get the list of tables in MySQL without Primary Key : [crayon-66ff782a63778919612647/] This my shortest article ever, hope …
Read More »Optimizing MySQL queries where clause contains function by using Generated Columns
Description: As we know, we can’t create a function-based index on MySQL, not like PostgreSQL (https://www.postgresql.org/docs/current/indexes-expressional.html). Usually, we should avoid using functions in the where …
Read More »Pay attention when using MySQL User-Defined Variables
Recently, i used a user-defined variable to store some values, and it showed an unexpected result. I updated rows using ‘where a in (@var)’, but this query …
Read More »How to get the network packets between MySQL client and server?
Sometimes when we get ERROR messages such as the communication failure, MySQL server not responds your requests, or we want to know what the …
Read More »What you should know before changing MySQL max_connections variable
Have you tried connecting to your MySQL server only to get the annoying error, “too many connections” ? This means that the number of …
Read More »