ADDまたはDELETEのMySQLデータベースのターミナルを使用して- VPSの#4管理

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

アンマネージのVPS -パート4:または作成ごみ箱のMySQLのDBは、ターミナルを使用して維持

mysqlデータベースロゴ

このように、2つのうち、作成はかなり基本的なしかし、便利なMySQLの操作マップをガイドし、データベースビニング、端末のインターフェイスを使用して。

もちろん、これらの、例えば、phpMyAdminはを行うことができますが、方法などの機能は、CLIを使用して実行するには速いです。

代わりに"db_username"、"db_password"、"db_password"とそれらの自分自身との"db_nameの"。

セットアンマネージVPSの更新(4めざせtracker ..)を開設する VPSの聖書

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. Intro: Set Up an Unmanaged VPS (4 Newbies) .. The V-P-S Bible
  1. VPS (Virtual Private Server) vs Shared vs Dedicated
  2. Set Up a VPS Linux Distribution   *
  3. Set Up the Command Line Interface (CLI) using PuTTY   *
  4. Create a Linux User & Set Permissions   *
  5. Encrypt Data with OpenSSH & Auto-Login with PuTTY   *
  6. Harden the Secure Shell (SSH) & Create a Firewall   *
  7. Edit bashrc for User-Friendly Linux, plus System Updates   *
  8. PHP5, MySQL, Xcache, Subversion (for Platforms like WordPress)   *
  9. Add a Domain Zone to Your VPS   *
  10. Prepare Linux Server for Email with Postfix   *
  11. Nginx (better than Apache) Web Server   *
  12. Setup FileZilla for Secure FTP (SFTP)   *
  13. Serve Multiple Sites & Blogs with Virtual Hosts   *
  14. Set up WordPress on Nginx with Pretty URLs & WP Super コマンドラインインターフェイスからは、まず、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?

.