Yuav Paub
- Go to MySQL website > Downloads > Community (GPL) Downloads > Community Server > Download.
- Next, qhib DMG file > ob-nias PKG installer > Install/ Change Install Location > Install Software.
- To run MySQL, xaiv Apple logo > System Preferences > MySQL.
Kab lus no piav qhia yuav ua li cas rub tawm thiab nruab MySQL database rau macOS Catalina (10.15) thiab macOS Mojave (10.14).
Yuav ua li cas rub tawm MySQL rau macOS
The MySQL rub tawm rau macOS Catalina yog sib xws nrog macOS Mojave. Nov yog yuav ua li cas nrhiav thiab rub tawm MySQL rau macOS.
-
Mus rau MySQL lub vev xaib thiab xaiv qhov Downloads kev xaiv rau saum lub vijtsam.
-
Scroll down mus rau hauv qab ntawm Downloads cov ntxaij vab tshaus thiab xaiv MySQL Community (GPL) Downloads.
-
Xaiv MySQL Community Server.
-
Xaiv macOS hauv Select Operating System ntawv qhia.
-
Xaiv Download mus rau sab xis ntawm macOS 10.15 (x86, 64-ntsis), DMG Archive.
-
Koj pom cov nyees khawm los nkag rau hauv koj tus account Oracle Web lossis sau npe rau ib qho tshiab. Xaiv No ua tsaug, cia li pib kuv download.
Thaum koj download tiav lawm, koj npaj tau pib lub installation.
Mac installer tsis muab ntau ntxiv rau koj. Yog tias koj xav tau cov ntaub ntawv, qauv databases, lossis tus neeg tshawb nrhiav GUI DB, koj yuav tsum tua lawv tus kheej.
Yuav ua li cas rau nruab MySQL ntawm macOS
Lub DMG archive rau MySQL muaj tus phooj ywg wizard-style installer. Txhawm rau nruab MySQL, ua cov kauj ruam hauv qab no:
- ob-nias DMG cov ntaub ntawv qhib nws.
-
ob-nias lub PKG installer.
-
Tus installer pib qhia rau koj paub tias nws yuav kuaj xyuas qhov yuav tsum tau ua ua ntej. Nyem Continue pib.
- Thawj kauj ruam ntawm kev teeb tsa muaj kev txuas mus rau MySQL cov ntaub ntawv ntsig txog, xws li cov ntaub ntawv. Nyem Continue.
-
Tau txais daim ntawv tso cai software, uas yog GNU Greater Public License, lossis GPL. MySQL yog qhib qhov software. Nyem Continue mus rau.
-
Los ntawm lub neej ntawd, koj Mac lub hard drive tseem ceeb yog qhov chaw rub tawm. Nyem Install mus txuas ntxiv. (Yog tias koj muaj lwm lub drives thiab xav hloov los ntawm lub hard drive tseem ceeb, nyem Hloov Nruab Qhov Chawua ntej tso cov software rau lwm qhov.)
-
Sau koj tus password thiab nyem Install Software.
-
Tau thaum cov ntaub ntawv luam rau koj Mac.
-
In the Configure MySQL server screen, nyem Siv Strong Password Encryption. Nyem Next.
- Koj raug ceeb toom rau MySQL hauv paus lo lus zais. Tus neeg siv hauv paus yog tus superuser ntawm MySQL subsystem. Nyem Finish thaum koj ua tiav.
Lub vijtsam kawg qhia cov ntsiab lus thiab cov txuas. Kev teeb tsa tiav lawm.
Yuav ua li cas khiav MySQL ntawm macOS
Koj thawj qhov kev xav kom khiav MySQL tom qab kev teeb tsa tej zaum yuav yog qhib Cov Ntawv Qhia Ntawv, tab sis MySQL yog daim ntawv thov neeg rau zaub mov, yog li koj yuav tsis pom nws nyob ntawd.
- Click the Apple logo nyob rau sab saum toj sab laug ntawm lub vijtsam thiab nyem System Preferences.
-
Click MySQL txhawm rau tso nws.
-
Los ntawm no, muaj ntau yam koj tuaj yeem ua:
- Nias lub Start MySQL Server khawm pib thiab nres lub server.
- Xaiv seb koj puas xav kom tus neeg rau zaub mov khiav tau ntawm kev pib.
- Click Initialize Database txhawm rau txhim kho lub neej ntawd database.
- Uninstall MySQL.
-
Click the Configuration tab los teeb tsa cov kev xaiv siab, suav nrog cov ntaub ntawv teev npe, qhov chaw ntawm qhov yuam kev, lossis cov ntaub ntawv kev cai, yog tias koj muaj. Nyem Apply tom qab kev hloov pauv.
koj ua tiav.
Tus MySQL database server khiav ntawm chaw nres nkoj 3306 los ntawm lub neej ntawd. Yog tias koj npaj yuav txuas mus rau cov ntaub ntawv los ntawm lwm lub tshuab, koj yuav tsum tau kho koj lub firewall.
Koj yuav tsum nkag mus rau hauv cov ntsiab lus kev qhia rau MySQL kom siv tau ntau rau koj. Nco ntsoov txhuam cov ntsiab lus ntawm SQL.