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 2021-04-22 21:50 andydaopeng 阅读(73) 评论(0) 编辑 收藏 举报
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)