1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 20:53:46 +08:00
ohmyzsh/plugins/mysql-macports/mysql-macports.plugin.zsh

9 lines
371 B
Bash

# commands to control local mysql-server installation
# paths are for osx installation via macports
alias mysqlstart='sudo /opt/local/share/mysql5/mysql/mysql.server start'
alias mysqlstop='sudo /opt/local/share/mysql5/mysql/mysql.server stop'
alias mysqlrestart='sudo /opt/local/share/mysql5/mysql/mysql.server restart'
alias mysqlstatus='mysqladmin5 -u root -p ping'