I-MySQL uhlelo lokuphathwa kwedatha olusetshenziswa emhlabeni wonke. Isikhathi esiningi isetshenziswa ekuthuthukisweni kwewebhu. Uma Ubuntu busetshenziswa njengohlelo oluphambili olusebenzayo (i-OS) ekhompyutheni yakho, khona-ke ukufaka le software kungahle kudale ubunzima, ngoba kuzofanele usebenze kuyo "Isiginali"ngokwenza imiyalo eminingi. Kepha ngezansi kuzochazwa ngokuningiliziwe ukuthi ukugcwalisa kanjani ukufakwa kwe-MySQL ku-Ubuntu.
Bheka futhi: Ungayifaka kanjani iLinux kusuka ku-flash drive
Faka i-MySQL ku-Ubuntu
Njengoba kwashiwo, ukufaka uhlelo lwe-MySQL ku-Ubuntu OS akuwona umsebenzi olula, noma kunjalo, ukwazi yonke imiyalo edingekayo, ngisho nomsebenzisi ojwayelekile angabhekana nakho.
Qaphela: yonke imiyalo ezochazwa kule ndatshana kufanele iqhutshwe namalungelo aphezulu. Ngakho-ke, ngemuva kokungena kubo bese ucindezela inkinobho Faka, uzocelwa iphasiwedi oyichazile lapho ufaka i-OS. Uyacelwa uqaphele ukuthi uma ufaka iphasiwedi, izinhlamvu azikhonjiswanga, ngakho-ke kuzodingeka ukuthi uthayiphe inhlanganisela eyiyo ngobumpumputhe bese ucindezela u-Enter.
Isinyathelo 1: Ukuvuselela Uhlelo Lokusebenza
Ngaphambi kokuqala ukufakwa kwe-MySQL, kufanele ubheke izibuyekezo ku-OS yakho, futhi uma ikhona, uzifake.
- Okokuqala, buyekeza wonke amakhosombe ngokusebenza ngaphakathi "Isiginali" umyalo olandelayo:
ukuvuselelwa kwesudo
- Manje ake sifake izibuyekezo ezitholakele:
ukuthuthukiswa kwe-sudo apt
- Linda kuze kube yilapho inqubo yokulanda nokufaka isiqediwe, bese uqalisa kabusha uhlelo. Ungakwenza lokhu ngaphandle kokushiya "Isiginali":
ukuqala kabusha kwe-sudo
Ngemuva kokuqala uhlelo, ngena futhi "Isiginali" bese uya esigatsheni esilandelayo.
Bheka futhi: Imiyalo Evame ukusetshenziswa Kwisiginali seLinux
Isinyathelo 2: Ukufaka
Manje faka iseva ye-MySQL ngokusebenza umyalo olandelayo:
sudo apt ukufaka i-mysql-server
Lapho kuvela umbuzo: "Ufuna ukuqhubeka?" faka uhlamvu D noma "Y" (kuya nge-OS kwasendaweni) bese uqhafaza Ngena.
Ngesikhathi sokufakwa, kuzovela isikhombimsebenzisi se-pseudographic lapho uzocelwa khona ukusetha iphasiwedi entsha ye-server ye-MySQL - ifake bese uchofoza KULUNGILE. Ngemuva kwalokho, qinisekisa iphasiwedi esanda kufakwa bese ucindezela futhi KULUNGILE.
Qaphela: esibonakalayo se-pseudographic, ukushintshana phakathi kwezindawo ezisebenzayo kwenziwa ngokucindezela inkinobho ye-TAB.
Ngemuva kokusetha iphasiwedi, kuzodingeka ulinde ukufakwa kweseva ye-MySQL ukuze uqedele futhi ufake ikhasimende layo. Ukuze wenze lokhu, sebenzisa lo myalo:
sudo apt ukufaka mysql-iklayenti
Okwamanje, awudingi ukuthi uqinisekise noma yini, ngakho-ke ngemuva kokuthi inqubo isiqediwe, ukufakwa kwe-MySQL kungabhekwa njengokuqediwe.
Isiphetho
Ngenxa yalokhu, singasho ukuthi ukufaka i-MySQL ku-Ubuntu akuyona inqubo enzima kangako, ikakhulukazi uma wazi yonke imiyalo edingekayo. Lapho nje usudlula kuzo zonke izinyathelo, uzothola ukufinyelela database wakho ngokushesha futhi ukwazi ukwenza izinguquko kukho.