AmitDiwan has Published 10744 Articles

mysql_secure_installation - Improve MySQL Installation Security

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:39:07

546 Views

What is mysql_secure_installation?Let us understand the MySQL installation related program mysql_secure_installation −This program enables the user to improve the security of their MySQL installation in the below mentioned ways:The user can set a password for root accounts.The user can remove root accounts which are accessible from outside the local host.The ... Read More

mysql_plugin - Configure MySQL Server Plugins

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:37:59

537 Views

Let us understand mysql_plugin utlity used in MySQL −The mysql_plugin utility allows MySQL administrators to manage the plugins that a MySQL server loads.It provides an alternative to manually specify the --plugin-load option at server startup or with the help of INSTALL PLUGIN and UNINSTALL PLUGIN statements at runtime.Depending on whether ... Read More

mysql_install_db - Initialize MySQL Data Directory

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:36:53

946 Views

The mysql_install_db handles the initialization tasks which need to be performed before the MySQL server i.e mysqld is ready to use. It initializes the MySQL data directory and helps create the system tables that it contains. It initializes the system tablespace and the related data structures that are reuqired to ... Read More

comp_err - Compile MySQL Error Message File

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:35:51

258 Views

The comp_err creates the errmsg.sys file which is used by mysqld to determine the error messages that need to be displayed for different error codes. After the current update to MySQL, the error information comes from the messages_to_error_log.txt and messages_to_clients.txt files in the share directory.Before MySQL 8.0.19, the error information ... Read More

mysqld_multi - Manage Multiple MySQL Servers

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:31:03

281 Views

The mysqld_multi command has been designed to manage several mysqld processes which listen for connections on different Unix socket files and TCP/IP ports. It can be used to start or stop servers, or report their current status.It can be invoked using the below code −shell> mysqld_multi [options] {start|stop|reload|report} [GNR[, GNR] ... Read More

mysql.server - MySQL Server Startup Script

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:30:04

479 Views

The mysql.server will change the location to the MySQL installation directory. It will then invoke the mysqld_safe. To run the server as a specific user, an appropriate user option can be added to the [mysqld] group of the global /etc/my.cnf option file.It changes location to the MySQL installation directory, and ... Read More

mysqld_safe - MySQL Server Startup Script

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:28:39

792 Views

What is mysqld_safeThe mysqld_safe command is considered as the right way to start a mysqld server on Unix.It adds certain safety features like restarting the server when an error occurs and logging runtime information to an error log.It tries to start an executable named mysqld. To override this default behavior ... Read More

mysqld - The MySQL Server

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:15:08

930 Views

Let us understand about ‘mysqld’, the MySQL server −mysqldThe mysqld is also known as MySQL Server. It is a single multithreaded program that does most of the work in a MySQL installation. It doesn’t spawn additional processes.MySQL Server helps manage the access to the MySQL data directory which contains databases ... Read More

MySQL Server and Server-Startup Programs

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:10:52

1K+ Views

There are 4 MySQL server and server-start up programs. They have been listed below −mysqldmysqld_safemysql.servermysqld_multimysqldis also known as MySQL Server. It is a single multithreaded program that does most of the work in a MySQL installation. It doesn’t spawn additional processes. MySQL Server helps manage the access to the MySQL ... Read More

Getting MySQL path in command prompt

AmitDiwan

AmitDiwan

Updated on 10-Mar-2021 12:09:44

3K+ Views

Let us understand how to get the MySQL path in the command prompt −To invoke MySQL programs easily, the path name of the MySQL bin directory can be added to the Windows system PATH environment variable.This can be done using the below mentioned steps −Before trying to add MySQL to ... Read More

Advertisements