.

Dodavanje ili brisanje MySQL Baza podataka koristeći Terminal - VPS ADMIN # 4

English Engleski (change)
  • Digg
  • Twitter
  • Technorati
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • LinkedIn
  • email

Održavati Unmanaged VPS - Part 4: Stvaranje ili Bin MySQL DBS pomoću terminala

MySQL baza podataka logo

To kako-da vodič karata iz dva osnovna, ali prilično zgodan MySQL operacije, kreiranje i binning baze podataka, korištenjem terminala sučelje.

Naravno, možete to učiniti s tim, recimo, phpMyAdmin, ali to je tako brže obavljanje takve funkcije pomoću CLI.

Substitute "db_username", "db_password", "db_password" i "db_name" sa one vlastite.

Postaviti Unmanaged VPS (4 Newbies) .. VPS Biblija

U 20 copy / paste korake .. od nula do junaka, prazan okvir za sladak-kao Linux poslužitelj.

Svitak prud za punu serije indeksa.

Dakle, hej, prolio zajedničke & Viva virtualna! Nadam se da to pomaže. The_guv

Dodaj MySQL Baza podataka

Iz sučelja komandne linije, moramo najprije pristupiti MySQL ljuska: --

mysql -u root -p

And before actually creating the db, you need to set up the database user and password.

grant all privileges on *.* to db_username@localhost identified by "db_password";

Now create the db:-

create database db_name;

And exit the MySQL shell:-

quit

Delete a MySQL Database

Easy tiger! From the command line interface, we need first to access mysql:-

mysql -u root -p

And delete the sucker:-

delete database db_name;

And here's an alternative way to exit the MySQL shell:-

\q

SETUP an Unmanaged VPS (4 Newbies) .. The V-P-S Bible

Serve multi sites & blogs on a budget .. at the fastest possible speed .. with the least downtime .. in the most secure environment .. and future-proofed for easy admin.

That's what the VPS Bible is about, stepped out in simple copy & paste guides.

From high traffic WordPress blogs to startup web hosts, here's what you need.

Set it up?   Click here for the 21 part follow-up .. V-P-S Admin

  1. * Includes video tutorial.

  2. Not linked = not published. Won't be long. Fix a feed for updates.


If you liked that ...
... maybe you'll like these?

.