Tag: database management systems / DBMS

Choose UPDATE mysql.user SET or ALTER USER? (SOLVED)

Each MySQL and MariaDB user can have various settings, such as permission (grants) to execute certain queries to all or specific databases. Users also have settings related to identification (login) on the DBMS server, such as: user password, used authentication plugin. To change user settings such as password and authentication plugin, you can choose one of the following commands: UPDATE...

How to check what MySQL/MariaDB users exist and their characteristics

Contents How to display the names of all MySQL/MariaDB users How to display the names of all users and their hosts in MySQL/MariaDB How to check which users are allowed to log in without a password in MySQL/MariaDB How to check which users have expired passwords in MySQL/MariaDB. How to list users with expired passwords How to check which plugin...

How to display only column names and nothing more for a table in MySQL and MariaDB

How to display only field names in SHOW COLUMNS Let's look at a situation when in MySQL and MariaDB you need to get information not from the table, but about the table itself, for example, field names. We have already looked at how to get a list of fields for any table; for this, an SQL query with the SHOW...

How to list columns in MySQL/MariaDB. How to check if a column exists in a table in PHP

Consider a situation where you need to find out whether a certain column exists in a table that is located in a database managed by a MySQL or MariaDB DBMS. In this post, we'll look at the SQL query syntax for getting a list of columns and searching for columns by name. We will also look at how to check...

How to increase the size of columns in phpMyAdmin

Table of contents 1. Why phpMyAdmin does not show the full contents of a cell (column) 2. How to view the full contents of a cell in phpMyAdmin 3. Why does changing column widths not show the entire data? 4.How to increase the number of characters in cells in phpMyAdmin Why phpMyAdmin does not show the full contents of a...

How to search in phpMyAdmin

Table of contents 1. How does searching through databases and tables work in phpMyAdmin 2. Instructions for using the search function in phpMyAdmin 3. Search the database as a whole. Search multiple tables simultaneously 4. Single table search Conclusion How does searching through databases and tables work in phpMyAdmin Searching MySQL/MariaDB is performed using SQL queries and therefore requires knowledge...

What is the difference between the LIKE operator and the equal sign (=) in MySQL/MariaDB. How to use LIKE in SQL

Table of contents 1. What to use to search in MySQL/MariaDB: LIKE operator or equals (=) operator 2. When to use equal sign (=) in SQL 3. When to use the LIKE operator in SQL 4. Even more differences under the hood Conclusion What to use to search in MySQL/MariaDB: LIKE operator or equals (=) operator The LIKE operator and...

Case sensitive search in phpMyAdmin

Table of contents 1. Case sensitive search in phpMyAdmin 2. How to create a request with “BINARY” in phpMyAdmin 3. How can I make SQL case sensitive string search in phpMyAdmin 4. Video on how to find a case-sensitive string in phpMyAdmin Case sensitive search in phpMyAdmin Let’s try to find rows in the table that contain the word “test”....

Case sensitive search in MySQL/MariaDB

Table of contents 1. MySQL/MariaDB search for strings not case sensitive 2. How to make search case sensitive in MySQL/MariaDB 3. Why do MySQL/MariaDB look for strings that are not case sensitive? 4. Why does adding “BINARY” make string searches case sensitive? 5. It is correct to put “BINARY” before the search string or before the column name 6. Optimizing...

ERROR 1114 (HY000) at line 19894: The table 'en' is full (SOLVED)

Why does the “ERROR 1114 (HY000)” occur When adding information to a database, for example, when using an “INSERT” statement, or when importing tables or databases into MySQL (MariaDB), error number 1114 may occur: ERROR 1114 (HY000) at line 19894: The table 'en' is full After the error there is an explanation: the specified table is completely occupied. The problem...
Loading...
X