2600

[MAC] 使用安裝Mysql/Mariadb

“
MAC上使用安裝Mysql/Mariadb
„

分享此文連結 //n.sfs.tw/11776

分享連結 [MAC] 使用安裝Mysql/Mariadb@新精讚
(文章歡迎轉載,務必尊重版權註明連結來源)
2019-10-25 09:25:20 最後編修
2017-09-13 09:59:26 By 張○○
 

自動目錄

在MAC上安裝及使用MYSQL

安裝

$ brew install mariadb

啟動/停止

$ brew services start mariadb

$ brew services stop mariadb

$ brew services restart mariadb

查看運作情形

$ mysql --version

$ brew services list

登入啟動/停止

$ launchctl start homebrew.mxcl.mariadb

$ launchctl stop homebrew.mxcl.mariadb

設定root密碼

$ mysqladmin -uroot flush-privileges password "1234"

 

END

你可能感興趣的文章

[MAC] 綜所稅憑證軟體移除:TAXagent、CommunityApp 稍微麻煩的憑證程式TAXagent、CommunityApp刪除

[MAC] 截取螢幕畫面的方法 截取螢幕畫面的方法,在MAC中叫作螢幕快照,英文是screenshot

[MAC] 使用Nally上PTT MAC上PTT的方法

[MAC] MAC中的工作管理員:活動監視器 活動監視器就是Windows中的工作管理員,來看看他有什麼功能?

[MAC] 安裝APACHE+PHP OS Darwin OpenIDMac1deAir 15.6.0 Darwin Kernel Version 15.6.

[MAC] 路由指令及設定路由 mac的路由指令

隨機好文

使用Google尋找你的手機 這近發現google竟然可以用來找android的手機,而且不需要經過什麼設定或安裝軟體。

[MAC] 截取螢幕畫面的方法 截取螢幕畫面的方法,在MAC中叫作螢幕快照,英文是screenshot

TFTP Server 安裝及使用 讓設備的網路設定檔或是韌體經由TFTP拷備出來,操作的方法

世紀帝國征服者新版本--被遺忘的帝國 世紀帝國征服者新版本--被遺忘的帝國 世紀二代的征服者是精典遊戲中的精典,aofe更好玩...

APACHE的記錄檔格式 LogFormat 語法 在APACHE中有定義一些記錄的語法模版 在 /etc/httpd/conf/httpd.conf 中: LogForm

精讚::