tthtlc

mysql installation in macair

May 5th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.31 KB | None | 0 0
  1. ~ %
  2. tthtlc@tthtlcair ~ %
  3. tthtlc@tthtlcair ~ % brew install mysql
  4. ==> Auto-updating Homebrew...
  5. Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
  6. HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
  7. ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:40e7f5d7514a7e9757facdd39006f7a351d3d7986d3a228be13c8b1c3216727b
  8. ######################################################################################################### 100.0%
  9. ==> Pouring portable-ruby-3.4.3.arm64_big_sur.bottle.tar.gz
  10. ==> Auto-updated Homebrew!
  11. Updated 2 taps (homebrew/core and homebrew/cask).
  12. ==> New Formulae
  13. add-determinism iccmax preevy technitium-library
  14. bkmr infat prog8 terraform-module-versions
  15. brename [email protected] readerwriterqueue tfmv
  16. camlpdf mender-artifact rofi tfsort
  17. cargo-shear miniflux sequoia-chameleon-gnupg tmex
  18. elfio multi-gitter sexpect undercutf1
  19. ferron newsraft swiftly unoserver
  20. girara opkssh tdom wrkflw
  21. hexd policy-engine technitium-dns yeet
  22. ==> New Casks
  23. cloudpouch font-harmonyos-sans-naskh-arabic liviable
  24. clover-chord-systems font-harmonyos-sans-sc meru
  25. elemental font-harmonyos-sans-tc outerbase-studio
  26. elemental@6 font-huninn profit
  27. font-adwaita-mono-nerd-font font-jetbrains-maple-mono realvnc-connect
  28. font-ancizar-sans font-jetbrains-maple-mono-nf sc-menu
  29. font-ancizar-serif font-noto-serif-dives-akuru viables
  30. font-asta-sans font-wdxl-lubrifont-jp-n vimy
  31. font-atkynson-mono-nerd-font font-wdxl-lubrifont-sc warp@preview
  32. font-bizter font-wdxl-lubrifont-tc witsy
  33. font-harmonyos-sans highlight
  34.  
  35. You have 12 outdated formulae installed.
  36.  
  37. ==> Downloading https://ghcr.io/v2/homebrew/core/mysql/manifests/9.3.0
  38. ######################################################################################################### 100.0%
  39. ==> Fetching dependencies for mysql: abseil, protobuf@29 and zlib
  40. ==> Downloading https://ghcr.io/v2/homebrew/core/abseil/manifests/20240722.1
  41. ######################################################################################################### 100.0%
  42. ==> Fetching abseil
  43. ==> Downloading https://ghcr.io/v2/homebrew/core/abseil/blobs/sha256:be7b3373c56a0e1ee2c0c2e85ee4d17e2105ac1d9d6
  44. ######################################################################################################### 100.0%
  45. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/29/manifests/29.4
  46. ######################################################################################################### 100.0%
  47. ==> Fetching protobuf@29
  48. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/29/blobs/sha256:201dfed6c12d9a7eb607c3f42c880633f92ef4
  49. ######################################################################################################### 100.0%
  50. ==> Downloading https://ghcr.io/v2/homebrew/core/zlib/manifests/1.3.1
  51. ######################################################################################################### 100.0%
  52. ==> Fetching zlib
  53. ==> Downloading https://ghcr.io/v2/homebrew/core/zlib/blobs/sha256:a801a93f88dba4df7319e46cd9ea5939351e73f7aa62a
  54. ######################################################################################################### 100.0%
  55. ==> Fetching mysql
  56. ==> Downloading https://ghcr.io/v2/homebrew/core/mysql/blobs/sha256:a1c4bcbfc9cd29ebd827d898ee23fa671d38e53fe38e
  57. ######################################################################################################### 100.0%
  58. ==> Installing dependencies for mysql: abseil, protobuf@29 and zlib
  59. ==> Installing mysql dependency: abseil
  60. ==> Downloading https://ghcr.io/v2/homebrew/core/abseil/manifests/20240722.1
  61. Already downloaded: /Users/tthtlc/Library/Caches/Homebrew/downloads/4bff95f4ef79f4ad40ea3de7ada38d2906e36e1bc7e06c053445b3e1a80b3fd3--abseil-20240722.1.bottle_manifest.json
  62. ==> Pouring abseil--20240722.1.arm64_sequoia.bottle.tar.gz
  63. 🍺 /opt/homebrew/Cellar/abseil/20240722.1: 772 files, 11.8MB
  64. ==> Installing mysql dependency: protobuf@29
  65. ==> Downloading https://ghcr.io/v2/homebrew/core/protobuf/29/manifests/29.4
  66. Already downloaded: /Users/tthtlc/Library/Caches/Homebrew/downloads/79af11557ac231cc4a15c5e425af5edddfb86d564c59b33b396d54e7168deb4d--protobuf@29-29.4.bottle_manifest.json
  67. ==> Pouring [email protected]_sequoia.bottle.tar.gz
  68. 🍺 /opt/homebrew/Cellar/protobuf@29/29.4: 445 files, 15.4MB
  69. ==> Installing mysql dependency: zlib
  70. ==> Downloading https://ghcr.io/v2/homebrew/core/zlib/manifests/1.3.1
  71. Already downloaded: /Users/tthtlc/Library/Caches/Homebrew/downloads/f68d0caf232d52f2aa586abefbbfd7e958e384d84f3967008fa83de94b5f10ae--zlib-1.3.1.bottle_manifest.json
  72. ==> Pouring zlib--1.3.1.arm64_sequoia.bottle.tar.gz
  73. 🍺 /opt/homebrew/Cellar/zlib/1.3.1: 14 files, 403.9KB
  74. ==> Installing mysql
  75. ==> Pouring mysql--9.3.0.arm64_sequoia.bottle.tar.gz
  76. ==> /opt/homebrew/Cellar/mysql/9.3.0/bin/mysqld --initialize-insecure --user=tthtlc --basedir=/opt/homebrew/Cell
  77. ==> Caveats
  78. Upgrading from MySQL <8.4 to MySQL >9.0 requires running MySQL 8.4 first:
  79. - brew services stop mysql
  80. - brew install [email protected]
  81. - brew services start [email protected]
  82. - brew services stop [email protected]
  83. - brew services start mysql
  84.  
  85. We've installed your MySQL database without a root password. To secure it run:
  86. mysql_secure_installation
  87.  
  88. MySQL is configured to only allow connections from localhost by default
  89.  
  90. To connect run:
  91. mysql -u root
  92.  
  93. To start mysql now and restart at login:
  94. brew services start mysql
  95. Or, if you don't want/need a background service you can just run:
  96. /opt/homebrew/opt/mysql/bin/mysqld_safe --datadir\=/opt/homebrew/var/mysql
  97. ==> Summary
  98. 🍺 /opt/homebrew/Cellar/mysql/9.3.0: 333 files, 291.9MB
  99. ==> Running `brew cleanup mysql`...
  100. Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
  101. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
  102. ==> Caveats
  103. ==> mysql
  104. Upgrading from MySQL <8.4 to MySQL >9.0 requires running MySQL 8.4 first:
  105. - brew services stop mysql
  106. - brew install [email protected]
  107. - brew services start [email protected]
  108. - brew services stop [email protected]
  109. - brew services start mysql
  110.  
  111. We've installed your MySQL database without a root password. To secure it run:
  112. mysql_secure_installation
  113.  
  114. MySQL is configured to only allow connections from localhost by default
  115.  
  116. To connect run:
  117. mysql -u root
  118.  
  119. To start mysql now and restart at login:
  120. brew services start mysql
  121. Or, if you don't want/need a background service you can just run:
  122. /opt/homebrew/opt/mysql/bin/mysqld_safe --datadir\=/opt/homebrew/var/mysql
  123. tthtlc@tthtlcair ~ %
  124.  
Add Comment
Please, Sign In to add comment