Connect Remote MySQL Database via Command Line Interface

MySQL provides the mysql command in order to connect remote MySQL servers via the command line interface. The MySQL server may be in a remote system which is located in our LAN or enterprise network or in the interface. We can use the mysql command by specifying the remote MySQL server hostname or IP address. … Read more

Export MySQL Database Using Command Line

MySQL database stores a different types of data. These data can be backed up or exported by using the mysqldump command into an SQL file. The SQL files stores the database tables, and structure the data. Exported SQL files can be used to restore the database and data in other database servers. The exporting of … Read more

Run MySQL From Command Line In Windows

MySQL is a cross-platform database that can be also run and used in Windows operating systems. We can use the Windows MySQL command line server and client via the command line interfaces like MS-DOS or PowerShell. In this tutorial, we examine how to run MySQL via the command line interface in Windows. Run MySQL Database … Read more

How To Start MySQL via Command Line In Windows and Linux?

MySQL is a popular open-source database used in Windows and Linux operating systems. MySQL is used as a service that can be started, stopped, or restarted via the command line interface. By default, the MySQL service is set to start when the operating system boots. But we can also start the MySQL server via the … Read more

Show MySQL Databases

Show MySQL Databases

MySQL is an RDMS where data is stored in a related manner by using tables. Multiple databases consist of multiple tables. MySQL databases can be listed in different ways by using a command-line interface or GUI tools. In this tutorial, we examine how to list or show MySQL databases via the command-line interface. Login MySQL … Read more

How To Kill MySQL Process?

How To Kill MySQL Process?

MySQL database may have single or more processes in order to run database-related transactions. Over time these processes may be unnecessary or stuck and consume lots of system resources like memory, and CPU. The MySQL processes can be killed in different ways. But keep in mind that killing MySQL processes may create unexpected results like … Read more

What Is MySQL Port Number?

What Is MySQL Port Number?

MySQL is a popular relational database management system that is used by different applications and programming languages. An application generally uses a network and MySQL port in order to connect MySQL database and consume services in order to query, save, change records. The default MySQL port number is “3306” which is also assigned to MySQL … Read more

MySQL Comment Tutorial

MySQL Comment Tutorial

MySQL comments are used to add notes, descriptions,s or explanations to the SQL queries. Comments can be used to explain an SQL where clause or table name or the SQL query completely. MySQL supports 3 different comment styles. These are hash (#) sign, doublet dash (–) and /* – */ characters. They provide different use … Read more