如何在mac机器中检查是否安装了mysql?

时间:2016-10-25 18:53:08

标签: mysql

我只是想确认我的Mac机器中是否安装了MySql。实际上,在安装过程中,我只是搞砸了密码配置,之后我尝试重置密码,但都是徒劳的,我终于决定卸载它并从头开始重新安装。但在再次安装之前,我只想确认以前的安装是否正确清除了。对于unintalling mysql,我使用了以下命令

sudo rm /usr/local/mysql sudo rm -rf /usr/local/mysql* sudo rm -rf /Library/StartupItems/MySQLCOM sudo rm -rf /Library/PreferencePanes/My* edit /etc/hostconfig and remove the line MYSQLCOM=-YES- rm -rf ~/Library/PreferencePanes/My* sudo rm -rf /Library/Receipts/mysql* sudo rm -rf /Library/Receipts/MySQL* sudo rm -rf /private/var/db/receipts/*mysql*

1 个答案:

答案 0 :(得分:0)

执行以下命令。如果它说" 命令未找到"它没有安装。

SELECT 
[Extent1].[FICHE] AS [FICHE], 
[Extent1].[ORG] AS [ORG], 
[Extent1].[ID_ECO] AS [ID_ECO]

FROM (SELECT 
      [GPM_E_DAN].[FICHE] AS [FICHE], 
      [GPM_E_DAN].[ORG] AS [ORG], 
      [GPM_E_DAN].[ID_ECO] AS [ID_ECO], 
) AS [Extent1]
WHERE 104678 = [Extent1].[FICHE]