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
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
#!/bin/sh | |
# https://gist.github.com/omegazeng/ea3a2b1b52caca62a81e859c34eadba4 | |
# GRANT RELOAD, LOCK TABLES, REPLICATION CLIENT ON *.* TO 'backup'@'localhost' identified by 'YourPassword'; | |
# FLUSH PRIVILEGES; | |
# | |
# Usage: | |
# MYSQL_PASSWORD=YourPassword bash run-xtrabackup.sh | |
MYSQL_USER=backup |