- Go to: 'System Preferences' >> 'MySQL' and stop MySQL
OR,
- sudo /usr/local/mysql/support-files/mysql.server start
- sudo /usr/local/mysql/support-files/mysql.server stop
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| package learn; | |
| import static spark.Spark.*; | |
| import spark.*; | |
| import java.io.*; | |
| import java.util.Map; | |
| import java.util.HashMap; | |
| import java.util.regex.Pattern; |