.

추가 또는 삭제를 사용하여 MySQL 데이터베이스 터미널 - VPS # 4 관리자

English 영어 (변경)
  • Digg
  • Twitter
  • Technorati
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • LinkedIn
  • email

관리되지 않는 VPS - 제 4 부 : MySQL을 만들거나 빈 터미널을 사용하여 DB를 유지

MySQL 데이터베이스 로고

이 방법을 2 아웃을 만들지만, 아주 기본적인 편리한 MySQL의 작업을지도 가이드 및 데이터베이스를 binning, 터미널 인터페이스를 사용합니다.

물론, 그, 말, phpMyAdmin와 함께 할 수있는,하지만 방법과 같은 기능을 수행하는 CLI를 사용하여 빠르게이야.

교체 "db_username", "db_password", "db_password"와 그 자신의와 "db_name".

설정 관리되지 않는 VPS (4 Newbies) .. 최대 VPS 성경

20 복사 있음 / 붙여넣기 단계 .. 제로의 영웅에서 빈 상자를 리눅스 서버 귀여운 -했다.

아래로 스크롤하여 전체 시리즈의 색인을 생성합니다.

그럼, 헤이, & 만세! 희망 가상 공유 창고에 도움이됩니다. the_guv

MySQL 데이터베이스에 추가

커맨드 라인 인터페이스에서, 우리가 처음에 mysql 쉘 접근해야합니다 : -

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?

.