.

Ajouter ou Supprimer base MySQL par l'Administration - ADMIN VPS # 4

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

Maintenir VPS Unmanaged - Partie 4: Créez ou Bin BDs MySQL en utilisant le Terminal

base de données mysql logo

Ce guide pratique sur deux jolies cartes de base mais pratique des opérations MySQL, la création et binning une base de données, en utilisant l'interface du terminal.

Bien sûr, vous pouvez le faire ceux qui ont, disons, phpMyAdmin, mais c'est beaucoup plus rapide pour exécuter des fonctions telles l'aide de la CLI.

"Substitute db_username", "db_password", "db_password" et "db_name" avec ceux de votre choix.

Configuration d'un VPS Unmanaged (4 Newbies) .. Le VPS Bible

En 20 un copier / coller des mesures .. de zéro à héros, case vide de cute-en tant que serveur Linux.

Faites défiler la liste pour l'indice de la série complète.

So, hey, remise partagé & viva virtuel! Hope it helps. The_guv

Ajouter une base de données MySQL

Depuis l'interface ligne de commande, nous devons d'abord accéder au shell 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 Cache   *
  15. WordPress Setup & Updates from the Command Line   *
  16. 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?

.