Post History
For Debian, Manjaro, Arch-Linux (those distributions which doesn’t have service) sudo systemctl enable mysql You can use start instead of enable. Note : Some distributions don't have mysql. Th...
Answer
#3: Post edited
For Debian, Manjaro, Arch-Linux (those distributions which doesn’t have `servive`)- ```
- sudo systemctl enable mysql
- ```
- You can use start instead of enable.
Note : Some distros don't have mysql. They have mysqld (Arch-based Linux maybe).- <hr/>
- You can use mysql-server following way also.
- ```
- mysql -u root -p
- ```
- If there's no password than, you can remove `-p`(you can leave password field empty also). `root` is username.
- For Debian, Manjaro, Arch-Linux (those distributions which doesn’t have `service`)
- ```
- sudo systemctl enable mysql
- ```
- You can use start instead of enable.
- Note : Some distributions don't have mysql. They have mysqld (Arch-based Linux maybe).
- <hr/>
- You can use mysql-server following way also.
- ```
- mysql -u root -p
- ```
- If there's no password than, you can remove `-p`(you can leave password field empty also). `root` is username.
#2: Post edited
- For Debian, Manjaro, Arch-Linux (those distributions which doesn’t have `servive`)
- ```
- sudo systemctl enable mysql
- ```
- You can use start instead of enable.
Note : Some distros don't have mysql. They have mysqld (Arch-based Linux maybe).
- For Debian, Manjaro, Arch-Linux (those distributions which doesn’t have `servive`)
- ```
- sudo systemctl enable mysql
- ```
- You can use start instead of enable.
- Note : Some distros don't have mysql. They have mysqld (Arch-based Linux maybe).
- <hr/>
- You can use mysql-server following way also.
- ```
- mysql -u root -p
- ```
- If there's no password than, you can remove `-p`(you can leave password field empty also). `root` is username.