添加或刪除MySQL數據庫使用終端-車輛定位系統後台管理#4

English 英國(更改)
  • Digg
  • Twitter
  • Technorati
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • LinkedIn
  • email

保持非託管車輛定位系統-第4部分:創建或本MySQL的使用終端區議會

mysql數據庫標識

這種操作方法,以指導映射出兩個非常方便,但MySQL的基本操作,創建和裝倉數據庫,使用終端接口。

當然,你可以做的,比如說,phpMyAdmin的,但它的方法更快地履行這些職能的使用CLI。

以“db_username”,“db_password”,“db_password”和“db_name”與那些你自己的。

成立了一個非託管車輛定位系統(4新成員).. 聖經的車輛定位系統

在20個複製/粘貼操作.. 從零到英雄,空白方塊可愛的Linux服務器。

向下的全系列指數。

所以,嘿,下跌共享與虛擬萬歲!希望有所幫助。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?

.