sql >> Database >  >> RDS >> Mysql

Hoe mysqld . te stoppen

Probeer:

/usr/local/mysql/bin/mysqladmin -u root -p shutdown 

Of:

sudo mysqld stop

Of:

sudo /usr/local/mysql/bin/mysqld stop

Of:

sudo mysql.server stop

Als u de Launchctl in OSX . installeert je kunt proberen:

MacPorts

sudo launchctl unload -w /Library/LaunchDaemons/org.macports.mysql.plist
sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql.plist

Let op:dit is aanhoudend na opnieuw opstarten.

Homebrew

launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

Binair installatieprogramma

sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
sudo /Library/StartupItems/MySQLCOM/MySQLCOM restart

Ik vond dat in:https://stackoverflow.com/a/102094/58768



  1. Beperk de rijen die in een SQL Server-query worden geretourneerd met behulp van de TOP-clausule

  2. SQL rekenkundige operatoren

  3. SQL_NO_CACHE werkt niet

  4. Gegevens ophalen voor histogramplot