Yuav Pib Mysql Server Li Cas

Cov txheej txheem:

Yuav Pib Mysql Server Li Cas
Yuav Pib Mysql Server Li Cas

Video: Yuav Pib Mysql Server Li Cas

Video: Yuav Pib Mysql Server Li Cas
Video: Yuav pib ua lag luam Online li cas...?#LeeAcademy 2024, Hlis ntuj nqeg
Anonim

Pub dawb, ceev, hloov pauv tau thiab qhib qhov chaw, MySQL yog ib qho ntawm cov khoom lag luam tshaj plaws hauv kev hais txog ntawm databases. Cov Servers ntawm hom no khiav lag luam ntawm feem ntau cov chaw xaib hauv Is Taws Nem. Muaj khoom siv faib khoom ntawm DBMS no, koj tuaj yeem khiav MySQL server ntawm koj lub tshuab.

Yuav pib mysql server li cas
Yuav pib mysql server li cas

Tsim nyog

  • - nruab MySQL server lossis pob pob khoom faib hauv qhov chaw cia khoom;
  • - hauv paus muaj peev xwm.

Cov Lus Qhia

Kauj ruam 1

Pib lub hauv paus neeg siv kev sib ntsib hauv console lossis davhlau ya nyob twg. Yog tias qhov graphical ib puag ncig khiav ntawm lub tshuab, nws raug nquahu kom siv qhov program uas emulates lub davhlau ya nyob twg. Sim khiav ib qho ntawm cov kev siv no (muaj ntau ntau li kaum os nrov emulators xws li xterm lossis konsole nyob nrog Linux faib). Siv cov kab ntawv luv hauv cov ntawv qhia zaub mov tseem ceeb ntawm lub plhaub lossis cov ntawv thov ua haujlwm ua haujlwm. Koj tseem tuaj yeem npaj ua ntej lub davhlau ya nyob twg uas siv, piv txwv li, Synaptic Mus rau hauv cov ntawv nyeem khawm los ntawm nias tus ntawv keyboard shortcuts Ctrl + Alt + F1- Ctrl + Alt + F12 lossis los ntawm nkag mus hauv qhov chaw graphical. Hauv qhov graphical cov davhlau ya nyob twg, thaum ua haujlwm raws li tus neeg siv sib txawv, ua ntej tshaj tawm su su

Kauj ruam 2

Tshawb xyuas lub xeev tam sim no ntawm MySQL cov chaw pabcuam khaws cov ntaub ntawv. Ntaus kev pabcuam mysqld xwm txheej thiab nias Enter. Tshawb xyuas cov ntawv luam pom. Cov lus tshaj tawm yuav qhia tias MySQL server yog: - twb khiav haujlwm - khiav haujlwm tab sis tsis tau khiav - tsis paub (feem ntau yuav tsis yog ntsia) Ua qhov txuas ntxiv mus raws li cov txiaj ntsig koj tau txais

Kauj ruam 3

Nruab MySQL server thiab teeb tsa nws rau kev ua haujlwm ntxiv, yog tias tsim nyog. Hauv cov duab ib puag ncig, siv Synaptic. Txog kab kev teeb tsa, siv tus thawj tswj hwm pob apt. Khiav cov lus txib: apt-cache nrhiav mysql thiab parse lub pob pom cov npe. Tom qab ntawd khiav ib qho kev hais kom ua ntawm daim ntawv: apt-tau nruab qhov twg es tsis txhob nkag mus rau ib qho ntawm cov nqi uas tau los ntawm kev tshawb. Linux faib khoom feem ntau suav nrog pob khoom muaj npe mysql, kev teeb tsa uas ua rau lub chaw teeb tsa feem ntau ntawm cov ntawv thov tsim nyog rau ua haujlwm nrog MySQL. Yog tias cov pob no tau nthuav tawm hauv kev faib khoom, cia li khiav cov lus txib: apt-mus nruab mysql thiab tos rau lub installation tiav. Qhov teeb ua rau cov neeg rau zaub mov ua haujlwm. Siv mysql_install_db chaw tso hluav taws xob los pib ua lub databases thawj zaug thiab mysqladmin nqi hluav taws xob rau kev teeb tsa txuas ntxiv

Kauj ruam 4

Pib MySQL server. Khiav qhov kev pabcuam kev hais kom ua mysqld pib thiab tshawb xyuas cov lus tso tawm pom

Kauj ruam 5

Txheeb xyuas qhov MySQL server. Siv mysqlshow chaw tso hluav taws xob los qhia cov npe ntawm databases, cov ntxhuav, thiab lwm cov ntaub ntawv. Txuas rau lub server siv mysql console neeg rau kev ua haujlwm tag nrho nrog cov ntaub ntawv hauv cov databases uas twb muaj lawm.

Pom zoo: