top of page

How to Start MySQL Server

  • Writer: Jha Chandan
    Jha Chandan
  • Mar 21, 2021
  • 1 min read

In this article we will learn how to start MySQL Server on Linux and Windows.


MySQL Server startup on Linux


We can start the server on linux platform with the following commands using service, init.d, and systemd.


MySQL Server startup using service

sudo service mysql start
ree

MySQL Server startup using init.d

sudo /etc/init.d/mysql start
ree

MySQL Server startup using systemd

sudo systemctl start mysqld


MySQL Server startup on Windows


We can start the MySQL Server on windows platform using the mysqld program as follows:


1. open the Run dialog by pressing Windows+R keyboards:

2. type cmd and press Enter:

3. type mysqld and press Enter:

mysqld
Note: If the bin folder is not in the Windows path environment, you can navigate to the bin folder e.g., C:\Program Files\MySQL\MySQL Server 8.0\bin\ and use the mysqld command.

That's all in this post. If you liked this blog and interested in knowing more about MySQL, Please Like, Follow, Share & Subscribe to imjhachandan.com

Comments


jc_logo.png

Hi, thanks for stopping by!

Welcome to my “Muse & Learn” blog!
Muse a little, learn a lot.✌️

 

Here you’ll find practical SQL queries, troubleshooting tips with fixes, and step-by-step guidance for common database activities. And of course, don’t forget to pause and muse with us along the way. 🙂
 

I share insights on:​​

  • Db2

  • MySQL

  • SQL Server

  • Linux/UNIX/AIX

  • HTML …and more to come!
     

Whether you’re just starting out or looking to sharpen your DBA skills, there’s something here for you.

Let the posts
come to you.

Thanks for submitting!

  • Instagram
  • Facebook
  • X
2020-2025 © TechWithJC

Subscribe to Our Newsletter

Thanks for submitting!

  • Facebook
  • Instagram
  • X

2020-2025 © TechWithJC

bottom of page