国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術文章
文章詳情頁

mysql - mac 使用brew安裝Mariadb問題.

瀏覽:120日期:2022-06-17 08:28:16

問題描述

Mac先卸載MySQL, 然后使用brew install mariadb安裝成功后, 啟動時無法使用mariadb, 請大牛們不惜指點指點, 怎么采用mariadb, 謝謝

如下圖mysql - mac 使用brew安裝Mariadb問題.

懷疑是這個問題:

$brew info mariadb...==> CaveatsA '/etc/my.cnf' from another install may interfere with a Homebrew-builtserver starting up correctly...

問題解答

回答1:

已解決;

確保安裝xcode;

brew 檢測 brew doctor; 顯示Your system is ready to brew.

brew升級, brew update;升級過程很慢, 也有些許問題, github 上brew關于更新問題,

cd '$(brew --repo)' && git fetch && git reset --hard origin/master && brew update

github中指出可以在遇到問題時對brew doctor和brew update多執行兩次,

4.刪除原來的Mariadb, brew uninstall mariadb; 重新安裝brew install mariadb;5.啟動mysql.server start;6.鏈接mysql -uroot,

Welcome to the MariaDB monitor. Commands end with ; or g.Your MariaDB connection id is 4Server version: 10.1.19-MariaDB HomebrewCopyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.Type ’help;’ or ’h’ for help. Type ’c’ to clear the current input statement.MariaDB [(none)]> Every thing is OK

相關文章:
主站蜘蛛池模板: 子洲县| 衡南县| 繁昌县| 镇远县| 台南县| 墨玉县| 宁海县| 张家界市| 修水县| 双桥区| 衡东县| 枣强县| 囊谦县| 台安县| 平利县| 桦甸市| 大城县| 阳山县| 尼勒克县| 扬中市| 华安县| 晋宁县| 宕昌县| 昌宁县| 庐江县| 林周县| 浙江省| 光山县| 兰考县| 怀化市| 杨浦区| 肇庆市| 昂仁县| 甘洛县| 郓城县| 长沙县| 平山县| 错那县| 稻城县| 二手房| 同江市|