Cov haujlwm tseem ceeb ntawm cov chaw khaws ntaub ntawv yog qhov khaws cia thiab tsim cov ntaub ntawv. SQL los yog Cov Lus Nug Muaj Cov Lus Nug ua txhais ua "lus nug yam muaj nug". Yog tsis muaj lub databases, kev ua haujlwm ib txwm ntawm cov chaw muaj peev xwm ua tsis tau, vim nws yog nyob hauv lawv tias tag nrho cov ntaub ntawv tsim nyog raug khaws cia rau kev ua haujlwm ntawm cov rooj sib tham, khw hauv online thiab lwm cov peev txheej.
Cov Lus Qhia
Kauj ruam 1
Txhawm rau tsim cov ntaub ntawv, koj yuav tsum muaj kev txhawb nqa nrog php. Nkag mus rau hauv cov tswj hwm ntawm koj cov peev txheej, nrhiav qhov "Database Management" kev xaiv. Tej zaum koj yuav muaj nws hu ua qee yam txawv, yog li nrhiav cov ntawv qhia zaub mov ntsig txog ntawm databases.
Kauj ruam 2
Muaj qhib lub qhov rai rau kev tswj hwm ntawm databases, nrhiav lub pob "Tshiab database" ("Tsim cov ntaub ntawv", thiab lwm yam). Sau lub npe ntawm cov ntaub ntawv koj xav tau tsim. Thov nco ntsoov tias lub npe ntawm lub npe ntawm tus neeg siv nws yog feem ntau nkag mus rau hauv lub npe ntawm cov ntaub ntawv. Piv txwv, yog tias lub npe username yog elvin, thiab lub chaw cim ntaub ntawv yog tsim los ua haujlwm nrog lub rooj sib tham, tom qab ntawv nws yuav raug hu ua elvin_forum. Ntawm no lub npe cov npe yog nkag rau kom yooj yim xwb, nws tuaj yeem yog lwm yam ntxiv. Piv txwv, elvin_data, elvin_db1, thiab lwm yam.
Kauj ruam 3
Qhia kom meej hom database MySQL. Yog tias koj xav tsim tus neeg siv ntxiv rau cov ntaub ntawv no, tshawb xyuas qhov kev xaiv tsim nyog, sau lub npe username thiab password. Nyem lub pob "Tsim", lub chaw khaws ntaub ntawv thiab tus neeg siv nyiaj yuav tsim. Koj tuaj yeem ntxiv cov neeg siv khoom tshiab thiab muab lawv txoj cai tsim nyog - piv txwv li, muaj peev xwm hloov kho cov ntaub ntawv, hloov kho, rho tawm cov ntaub ntawv, thiab lwm yam. Txhawm rau ua qhov no, koj yuav tsum kos cov ntawv tsim nyog hauv cov neeg siv cov ntsiab lus chaw. Yog tias tus neeg siv yog tus xaib ntawm lub xaib, tom qab ntawd koj tuaj yeem tsuas khij lub npov nyob ib sab ntawm txhua kab - uas yog, muab txhua txoj cai.
Kauj ruam 4
Txhawm rau ua haujlwm nrog databases, qhov kev qhia tshwj xeeb feem ntau siv - phpMyAdmin. Nrog nws cov kev pab, koj tuaj yeem tswj hwm cov chaw khaws ntaub ntawv remotely, dhau los ntawm qhov browser tsis tu ncua. Ua tsaug rau phpMyAdmin, txawm tias ib tus neeg muaj kev paub tsis zoo ntawm MySQL tuaj yeem ua haujlwm nrog databases. Qhov kev zov me nyuam muaj cov ntaub ntawv ntxaws ntxig uas ua kom yooj yim nkag siab txog kev siv qhov program no. Koj tuaj yeem pom cov txhais lus Lavxias ntawm cov ntaub ntawv ntawm no: