Skip to content
Browse files

Fixed folder naming for mysql-macports plugin and improved start/stop…

… scripts.
  • Loading branch information...
1 parent 971b071 commit 96ec1e12498fb2c3200fef941ad6eadece723a0d @alexrinass alexrinass committed
Showing with 8 additions and 6 deletions.
  1. +8 −0 plugins/mysql-macports/mysql-macports.plugin.zsh
  2. +0 −6 plugins/mysql/mysql-macports.plugin.zsh
View
8 plugins/mysql-macports/mysql-macports.plugin.zsh
@@ -0,0 +1,8 @@
+# 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'
View
6 plugins/mysql/mysql-macports.plugin.zsh
@@ -1,6 +0,0 @@
-# commands to control local mysql-server installation
-# paths are for osx installtion via macports
-
-alias mysqlstart='sudo /opt/local/bin/mysqld_safe5'
-alias mysqlstop='/opt/local/bin/mysqladmin5 -u root -p shutdown'
-alias mysqlstatus='mysqladmin5 -u root -p ping'

0 comments on commit 96ec1e1

Please sign in to comment.
Something went wrong with that request. Please try again.