command restart mysql windows code example Example: restart mysql server ubuntu service mysqld restart