Cov txheej txheem:

Kuv yuav pib MariaDB los ntawm kab hais kom ua li cas?
Kuv yuav pib MariaDB los ntawm kab hais kom ua li cas?

Video: Kuv yuav pib MariaDB los ntawm kab hais kom ua li cas?

Video: Kuv yuav pib MariaDB los ntawm kab hais kom ua li cas?
Video: Kuv yuav txiv lawm cover kab lia vwj 2024, Kaum ib hlis
Anonim

Pib lub plhaub MariaDB

  1. Nyob ntawm lus txib , khiav hauv qab no txib kom tso tawm lub plhaub thiab sau nws raws li tus neeg siv hauv paus: /usr/bin/ mysql -u root -p.
  2. Thaum koj raug ceeb toom rau tus password, nkag mus rau qhov koj tau teeb tsa ntawm kev teeb tsa, lossis yog tias koj tsis tau teeb tsa, nias Enter kom xa tsis muaj tus password.

Kuj tseem paub yog, Kuv yuav nkag mus rau MariaDB los ntawm kev hais kom ua li cas?

Qhov rai

  1. Qhib cov lus txib kom ua raws li cov kauj ruam no: Pib -> khiav -> cmd -> nias nkag.
  2. Nkag mus rau koj lub MariaDb installation folder (Default: C: Program FilesMariaDbMariaDb Server 12in)
  3. Ntaus hauv: mysql -u root -p.
  4. PAUB TIAS TXHUA YAM TSEEM CEEB RAU *.
  5. Khiav cov lus txib kawg no: FLUSH PRIVILEGES;
  6. Txhawm rau tawm hom: tawm.

Ib yam li ntawd, kuv yuav qhib MySQL tus thov kev pab los ntawm kab hais kom ua li cas?

  1. Pib koj qhov kev pabcuam MySQL server los ntawm MySQL home directory. Koj ib qho yog C: MYSQLin yog li xaiv cov npe no hauv kab hais kom ua thiab hom: NET START MySQL.
  2. Hom: mysql -u neeg siv -p [pressEnter]
  3. Ntaus koj tus password [pressEnter]

Ib yam li ntawd, tib neeg nug, Kuv yuav pib nrog MariaDB li cas?

Pib nrog MariaDB

  1. Nruab Hauv Zos: Download MariaDB Server ruaj khov version.
  2. Siv Cloud Providers. MariaDB ntawm AWS Marketplace: Peb tsim cov duab MariaDB ua ntej ntawm Amazon AWS. Cov duab no yog ib txoj hauv kev kom tau txais kev txhim kho yooj yim ntawm MariaDB nce thiab khiav.
  3. Siv Docker Image.

Kuv yuav paub li cas yog MariaDB tau nruab rau ntawm Windows?

Yuav ua li cas txheeb xyuas MariaDB version

  1. Nkag mus rau hauv koj li MariaDB piv txwv, hauv peb rooj plaub peb nkag mus siv cov lus txib: mysql -u hauv paus -p.
  2. Tom qab koj nkag rau hauv koj tuaj yeem pom koj lub version hauv cov ntawv txais tos - tseem ceeb hauv qhov screen-lob hauv qab no:
  3. Yog tias koj tsis tuaj yeem pom koj cov version ntawm no koj tuaj yeem khiav cov lus txib hauv qab no kom pom nws: SELECT VERSION();

Pom zoo: