MySQL ndi kasamalidwe ka database komwe kumagwiritsidwa ntchito padziko lonse lapansi. Nthawi zambiri amagwiritsidwa ntchito popanga intaneti. Ngati Ubuntu wagwiritsidwa ntchito ngati opaleshoni wamkulu (OS) pakompyuta yanu, ndiye kuti kuyika pulogalamuyi kungayambitse zovuta, chifukwa muyenera kuyigwiritsa ntchito "Pokwelera"popanga malamulo ambiri. Koma pansipa tidzafotokozedwa mwatsatanetsatane momwe mungamalizire kukhazikitsa kwa MySQL ku Ubuntu.
Onaninso: Momwe mungakhazikitsire Linux kuchokera pa drive drive
Ikani MySQL ku Ubuntu
Monga ananenera, kukhazikitsa dongosolo la MySQL mu Ubuntu OS si ntchito yosavuta, komabe, kudziwa malamulo onse ofunikira, ngakhale wogwiritsa ntchito wamba amatha kuthana nawo.
Chidziwitso: Malamulo onse omwe atchulidwa munkhaniyi ayenera kuyendetsedwa ndi mwayi wapamwamba. Chifukwa chake, mutatha kulowa nawo ndikudina batani la Enter, mudzapemphedwera achinsinsi omwe mudafotokoza mukakhazikitsa OS. Chonde dziwani kuti mukalowa mawu achinsinsi, zilembozo sizikuwonetsedwa, chifukwa chake mufunika kuti tilembe molondola mosakanikirana ndikudina Enter Enter.
Gawo 1: Kukonzanso Makina Ogwiritsa Ntchito
Musanayambe kukhazikitsa kwa MySQL, muyenera kudziwa zowunikira OS yanu, ndipo ngati alipo, ikanuleni.
- Choyamba, sinthani malo onse posungira "Pokwelera" kutsatira lamulo:
zosintha mwachikondi
- Tsopano tiyeni tiyike zosintha zomwe zapezeka:
Kukonda kwambiri
- Yembekezani mpaka pulogalamu yotsitsa ndi kukhazikitsa ithe, kenako kuyambiranso dongosolo. Mutha kuchita izi osachokapo "Pokwelera":
kukonzanso koyambira
Mukayamba kachitidwe, lowaninso "Pokwelera" ndikupita ku gawo lotsatira.
Wonaninso: Malamulo Omwe Amagwiritsidwa Ntchito Nthawi Zonse mu Linux terminal
Gawo 2: Kukhazikitsa
Tsopano ikani seva ya MySQL poyendetsa lotsatira:
sudo apt ndikukhazikitsa sesql-seva
Funso likawoneka: "Mukufuna kupitiliza?" lowani mawonekedwe D kapena "Y" (kutengera kutengera OS) ndikudina Lowani.
Mukakhazikitsa, mawonekedwe a pseudographic adzaonekera pomwe mupemphedwa kukhazikitsa password yatsopano ya seva ya MySQL - lowetsani ndikudina Chabwino. Pambuyo pake, tsimikizirani mawu achinsinsi omwe adalowa ndikusindikiza kachiwiri Chabwino.
Chidziwitso: mawonekedwe a pseudographic, kusintha pakati pa malo omwe amagwira ntchito kumachitika ndikanikiza batani la TAB.
Mukakhazikitsa mawu achinsinsi, muyenera kuyembekeza kukhazikitsidwa kwa seva ya MySQL kuti mutsirize ndikukhazikitsa kasitomala wake. Kuti muchite izi, yendetsa lamulo ili:
sudo apt ndikukhazikitsa mysql-kasitomala
Pakadali pano, simukuyenera kutsimikizira chilichonse, chifukwa ntchitoyi ikamalizidwa, kuyika kwa MySQL kuonedwa kuti kumatha.
Pomaliza
Zotsatira zake, titha kunena kuti kuyika MySQL ku Ubuntu sichinthu chovuta motero, makamaka ngati mukudziwa malamulo onse ofunikira. Mukangodutsa masitepe onse, nthawi yomweyo mupeza mwayi kuti mupeze database yanu ndikutha kusintha zina ndi zina.