How do I start and stop mysql server?



How do I start and stop mysql server?..

Answer / Ravi Kumaar

To start a MySQL server, use the command 'service mysql start' or 'systemctl start mysql' on Linux. To stop it, use 'service mysql stop' or 'systemctl stop mysql'. For Windows, navigate to the MySQL installation directory (usually C:Program FilesMySQLMySQL Server x.x), and run mysqld-init.exe with the start argument for starting ('mysqld-init.exe --install') and stop argument for stopping ('mysqld-init.exe --shutdown').

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

How do I create a new database in mysql?

1 Answers  


Does mysql use t sql?

1 Answers  


How can I see all mysql databases?

1 Answers  


How to list or view all databases from the mysql server.

1 Answers  


How to find out the second largest element from mysql table

15 Answers  


What is procedure in mysql?

1 Answers  


What is mysql slow query?

1 Answers  


Why phpmyadmin is used for mysql?

1 Answers  


Do I need to pay for mysql?

1 Answers  


What is the difference between the primary and unique key in mysql?

1 Answers  


What is csv?

1 Answers  


How do I get a list of table names in mysql?

1 Answers  


Categories