mysqltest

A "/etc/my.cnf" from another install may interfere with a Homebrew-built

server starting up correctly.

 

MySQL is configured to only allow connections from localhost by default

 

To connect:

    mysql -uroot

 

mariadb@10.2 is keg-only, which means it was not symlinked into /usr/local,

because this is an alternate version of another formula.

 

If you need to have mariadb@10.2 first in your PATH, run:

  echo 'export PATH="/usr/local/opt/mariadb@10.2/bin:$PATH"' >> ~/.profile

 

For compilers to find mariadb@10.2 you may need to set:

  export LDFLAGS="-L/usr/local/opt/mariadb@10.2/lib"

  export CPPFLAGS="-I/usr/local/opt/mariadb@10.2/include"

 

 

To have launchd start mariadb@10.2 now and restart at login:

  brew services start mariadb@10.2

Or, if you don't want/need a background service you can just run:

  /usr/local/opt/mariadb@10.2/bin/mysql.server start

==> Summary

🍺  /usr/local/Cellar/mariadb@10.2/10.2.37: 653 files, 164.6MB

posted on   andydaopeng  阅读(73)  评论(0编辑  收藏  举报

编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示