Txhua yam koj xav paub txog Android Go

MySQL yog ib qho kev tswj xyuas kab ke siv thoob plaws ntiaj teb. Feem ntau nws yog siv hauv kev tsim web. Yog hais tias Ubuntu yog siv lub ntsiab operating system (OS) ntawm koj lub computer, ces txhim kho qhov software no yuav nyuaj thaum koj muaj haujlwm "Terminal"los ntawm executing ntau lus txib. Tab sis hauv qab no yuav piav nyob rau hauv kev nthuav dav yuav ua li cas rau nruab MySQL Ubuntu.

Saib kuj: Yuav ua li cas rau nruab Linux los ntawm ib lub flash drive

Txhim kho MySQL hauv Ubuntu

Raws li nws tau hais, txhim kho MySQL qhov system hauv Ubuntu OS tsis yog ib txoj hauj lwm yooj yim, tiam sis kev paub txog txhua tus tsim nyog commands, txawm tias tus neeg siv tau yooj yim los daws tau nws.

Lus cim: tag nrho cov lus txib uas yuav teev nyob rau hauv tsab xov xwm no yuav tsum tau ua nrog cov cai ntawm superuser. Yog li, tom qab nkag rau lawv thiab nias lub khawm Enter, koj yuav raug nug rau tus password uas koj teev thaum nruab ib lub OS. Nco ntsoov tias thaum nkag mus rau ib lo lus zais, cov cim tsis tso tawm kom pom, yog li koj yuav tsum ntaus ntawv ua ke kom pom tseeb thiab nias sau.

Kauj Ruam 1: Hloov tshiab rau kev khiav haujlwm

Ua ntej pib lub installation ntawm MySQL, nws yog qhov tseem ceeb heev rau kev tshawb xyuas cov tshiab ntawm koj OS, thiab yog tias muaj lwm yam, ces nruab lawv.

  1. Yuav pib, hloov txhua repositories los ntawm kev khiav "Terminal" tom qab hais kom ua:

    sudo apt hloov tshiab

  2. Tam sim no peb yuav nruab tus tshiab pom:

    sudo apt txawj tej yam ntxiv

  3. Tos tus txheej txheem download thiab installation kom tiav, ces reboot lub cev. Koj tuaj yeem ua qhov no tsis tau tawm "Terminal":

    sudo reboot

Tom qab pib lub kaw lus, sau dua "Terminal" thiab mus rau kauj ruam tom ntej.

Saib kuj: Nquag Siv Commands hauv Linux Terminal

Kauj Ruam 2: Nruab Nrab

Tam sim no peb yuav nruab MySQL neeg rau zaub mov los ntawm kev ua raws li cov lus qhia nram no:

sudo apt nruab mysql-neeg rau zaub mov

Thaum nug: "Koj puas xav mus ntxiv?" sau tus cwj pwm "D" los yog "Y" (nyob ntawm seb OS localization) thiab nias Sau.

Thaum lub installation, pseudo-nraaj interface yuav tshwm sim, thov koj teev ib tus password tshiab rau MySQL neeg rau zaub mov - nkag mus rau nws thiab nias "OK". Tom qab ntawd, qhia meej tias tus password koj nyuam qhuav nkag mus thiab nias dua. "OK".

Lus Cim: nyob hauv pseudo-graphic interface, hloov ntawm thaj chaw dhia dej yog ua los ntawm nias ntawm TAB qhov tseem ceeb.

Tom qab koj muab tus password, koj yuav tsum tos kom txog thaum lub installation ntawm MySQL neeg rau zaub mov tiav thiab nruab nws tus neeg. Ua li no, khiav cov lus txib no:

sudo apt nruab mysql-neeg

Nyob rau ntawm theem no, koj tsis tas yuav tsum paub tseeb tias txhua yam, yog li tom qab qhov txheej txheem tiav, installation ntawm MySQL tuaj yeem xav kom tiav.

Xaus

Yog li ntawd, peb tuaj yeem hais tias installation ntawm MySQL hauv Ubuntu tsis zoo li cov txheej txheem nyuab, tshwj xeeb yog tias koj paub txhua yam tsim nyog commands. Thaum koj mus dhau tag nrho cov kauj ruam, koj yuav tau nkag mus rau koj cov ntaub ntawv tam sim ntawd thiab yuav hloov tau rau nws.