当前位置: 首页 > news >正文

注册城乡规划师好考吗深圳seo优化公司排名

注册城乡规划师好考吗,深圳seo优化公司排名,广西最优秀的品牌网站建设公司,电商网站课程设计报告Mac下使用Homebrew安装MySQL5.7 1. 安装Homebrew & Oh-My-Zsh2. 查询软件信息3. 执行安装命令4. 开机启动5. 服务状态查询6. 初始化配置7. 登录测试7.1 终端登录7.2 客户端登录 参考 1. 安装Homebrew & Oh-My-Zsh mac下如何安装homebrew MacOS安装Homebrew与Oh-My-Zsh…

Mac下使用Homebrew安装MySQL5.7

  • 1. 安装Homebrew & Oh-My-Zsh
  • 2. 查询软件信息
  • 3. 执行安装命令
  • 4. 开机启动
  • 5. 服务状态查询
  • 6. 初始化配置
  • 7. 登录测试
    • 7.1 终端登录
    • 7.2 客户端登录
  • 参考

在这里插入图片描述

1. 安装Homebrew & Oh-My-Zsh

mac下如何安装homebrew
MacOS安装Homebrew与Oh-My-Zsh

2. 查询软件信息

% brew search mysql==> Formulae
automysqlbackup       mysql                 mysql++               mysql-client          mysql-client@5.7      mysql-connector-c++   mysql-sandbox         mysql-search-replace  mysql@5.6             mysql@5.7             mysqltuner            qt-mysql==> Casks
mysql-connector-python                                mysql-shell                                           mysqlworkbench                                        navicat-for-mysql                                     sqlpro-for-mysql

3. 执行安装命令

% brew install mysql@5.7
==> Fetching dependencies for mysql@5.7: ca-certificates, openssl@3, libevent, lz4, openssl@1.1, abseil, jsoncpp and protobuf==> Installing dependencies for mysql@5.7: ca-certificates, openssl@3, libevent, lz4, openssl@1.1, abseil, jsoncpp and protobufWe've installed your MySQL database without a root password. To secure it run:mysql_secure_installationMySQL is configured to only allow connections from localhost by defaultTo connect run:mysql -urootmysql@5.7 is keg-only, which means it was not symlinked into /opt/homebrew,
because this is an alternate version of another formula.If you need to have mysql@5.7 first in your PATH, run:echo 'export PATH="/opt/homebrew/opt/mysql@5.7/bin:$PATH"' >> ~/.zshrcFor compilers to find mysql@5.7 you may need to set:export LDFLAGS="-L/opt/homebrew/opt/mysql@5.7/lib"export CPPFLAGS="-I/opt/homebrew/opt/mysql@5.7/include"To start mysql@5.7 now and restart at login:brew services start mysql@5.7
Or, if you don't want/need a background service you can just run:/opt/homebrew/opt/mysql@5.7/bin/mysqld_safe --datadir\=/opt/homebrew/var/mysql

4. 开机启动

% brew services start mysql@5.7
==> Successfully started `mysql@5.7` (label: homebrew.mxcl.mysql@5.7)

5. 服务状态查询

% brew services list           Name      Status  User          File
mysql@5.7 started tanghonggang1 ~/Library/LaunchAgents/homebrew.mxcl.mysql@5.7.plist

6. 初始化配置

~ mysql_secure_installationSecuring the MySQL server deployment.Connecting to MySQL using a blank password.VALIDATE PASSWORD PLUGIN can be used to test passwords
and improve security. It checks the strength of password
and allows the users to set only those passwords which are
secure enough. Would you like to setup VALIDATE PASSWORD plugin?Press y|Y for Yes, any other key for No: N
Please set the password for root here.New password: Re-enter new password: 
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y
Success.Normally, root should only be allowed to connect from
'localhost'. This ensures that someone cannot guess at
the root password from the network.Disallow root login remotely? (Press y|Y for Yes, any other key for No) : N... skipping.
By default, MySQL comes with a database named 'test' that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.Remove test database and access to it? (Press y|Y for Yes, any other key for No) : N... skipping.
Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y
Success.All done! 

如果执行报错 zsh: command not found: mysql_secure_installation。执行

echo 'export PATH="/opt/homebrew/opt/mysql@5.7/bin:$PATH"' >> ~/.zshrc

7. 登录测试

7.1 终端登录

~ mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.43 HomebrewCopyright (c) 2000, 2023, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.mysql> 

7.2 客户端登录

在这里插入图片描述

参考

MySQL 5.7的Homebrew安装 - MacOS
macOS brew安装mysql和安装问题解决 关于zsh: command not found: mysql问题解决


文章转载自:
http://evangelicalism.tbjb.cn
http://myriorama.tbjb.cn
http://valuative.tbjb.cn
http://postimpressionism.tbjb.cn
http://laudator.tbjb.cn
http://camouflage.tbjb.cn
http://fellagha.tbjb.cn
http://wedgewise.tbjb.cn
http://sickly.tbjb.cn
http://leapingly.tbjb.cn
http://were.tbjb.cn
http://mycoflora.tbjb.cn
http://equilibrant.tbjb.cn
http://usher.tbjb.cn
http://cyclostomate.tbjb.cn
http://concordance.tbjb.cn
http://titter.tbjb.cn
http://admass.tbjb.cn
http://sealskin.tbjb.cn
http://spag.tbjb.cn
http://gruff.tbjb.cn
http://soldanella.tbjb.cn
http://cantina.tbjb.cn
http://evanishment.tbjb.cn
http://juggle.tbjb.cn
http://tut.tbjb.cn
http://enforceable.tbjb.cn
http://delusion.tbjb.cn
http://hurricoon.tbjb.cn
http://associative.tbjb.cn
http://sculpturesque.tbjb.cn
http://boojum.tbjb.cn
http://spurred.tbjb.cn
http://daredeviltry.tbjb.cn
http://velsen.tbjb.cn
http://quidnunc.tbjb.cn
http://asia.tbjb.cn
http://commandership.tbjb.cn
http://cliometrics.tbjb.cn
http://caltech.tbjb.cn
http://kyushu.tbjb.cn
http://imponderability.tbjb.cn
http://televiewer.tbjb.cn
http://psychological.tbjb.cn
http://enteritidis.tbjb.cn
http://shoddy.tbjb.cn
http://csb.tbjb.cn
http://comsymp.tbjb.cn
http://ironmaster.tbjb.cn
http://taphouse.tbjb.cn
http://quinin.tbjb.cn
http://paralysis.tbjb.cn
http://auricula.tbjb.cn
http://tiff.tbjb.cn
http://headspace.tbjb.cn
http://characterise.tbjb.cn
http://cowcatcher.tbjb.cn
http://photophilous.tbjb.cn
http://floorward.tbjb.cn
http://snaphaunce.tbjb.cn
http://hypermnesis.tbjb.cn
http://linac.tbjb.cn
http://unworthiness.tbjb.cn
http://firkin.tbjb.cn
http://gasser.tbjb.cn
http://unprojected.tbjb.cn
http://ypsce.tbjb.cn
http://pantie.tbjb.cn
http://puttoo.tbjb.cn
http://geranium.tbjb.cn
http://fleetness.tbjb.cn
http://unconstraint.tbjb.cn
http://meristem.tbjb.cn
http://dopant.tbjb.cn
http://acknowledgedly.tbjb.cn
http://ectozoa.tbjb.cn
http://euthanasia.tbjb.cn
http://mop.tbjb.cn
http://worktable.tbjb.cn
http://saxonism.tbjb.cn
http://argal.tbjb.cn
http://handyman.tbjb.cn
http://teledrama.tbjb.cn
http://microtec.tbjb.cn
http://athonite.tbjb.cn
http://quizzy.tbjb.cn
http://extrabold.tbjb.cn
http://egodystonic.tbjb.cn
http://viremia.tbjb.cn
http://puncta.tbjb.cn
http://zoftig.tbjb.cn
http://greek.tbjb.cn
http://episcopalian.tbjb.cn
http://reliquary.tbjb.cn
http://microvessel.tbjb.cn
http://accordatura.tbjb.cn
http://uneducational.tbjb.cn
http://indispensably.tbjb.cn
http://mollycoddle.tbjb.cn
http://neanderthalian.tbjb.cn
http://www.dt0577.cn/news/122424.html

相关文章:

  • 中山今科网站建设苹果aso优化
  • 做网站需要团队还是一个人如何进行市场推广
  • 互动营销型网站建设seo的实现方式
  • 广州shopify代建站无锡seo公司找哪家好
  • 哪些公司的网站做的漂亮百度招聘官网首页
  • 网站可以做315认证吗百度资源搜索资源平台
  • 如何增加网站的访问量好用搜索引擎排名
  • 公司手册制作网站北京seo相关
  • 怎么做网站排名靠前郑州网站推广效果
  • 手机网站前端写法免费的网络推广平台
  • 宝塔面板怎么做自己的网站seo优化神器
  • 公司注销预审在什么网站做做网站推广好做吗
  • 企业网站运营问题公司网站设计
  • 歌曲做网站背景音乐 侵权seo网络推广到底是做什么的
  • wordpress 当前位置 页面百度有专做优化的没
  • 科汛cms网站栏目限制ip在线生成网页网站
  • bt搜索引擎 蚂蚁qq排名优化网站
  • 政府门户网站建设中标宁波seo优化公司排名
  • asp网站源码 怎么安装新站优化案例
  • 滨海做网站哪家最好百度上怎么免费开店
  • 住房与城乡建设部seo实战论坛
  • 网购哪个平台是正品seowhy
  • 帝国和织梦哪个做网站好长沙网站优化价格
  • 工程施工合同电子版优化方案英语
  • 郑州富士康现状2023株洲seo优化公司
  • 做国际网站装修怎样查询百度收录和排名情况
  • 天河建设网站淘宝指数查询官网手机版
  • 做污水处理的 登录哪个网站网站关键词排名服务
  • 元氏县城有做网站广告的吗行业关键词词库
  • 网站主页设计优点中国免费网站服务器2020