Advanced

How to Manage MySQL Databases and Users from the Command Line

Posted by RoseHosting on · Post a comment
Rose Hosting Blog
Mail this story
Print this story

MySQL is the most popular database server used by websites to store their important data. In addition to using phpMyAdmin to manage MySQL databases, we can do the same through MySQL shell commands. In this article, we will show you some basic commands to manage MySQL databases and Users.

In this section, we will show you how to add a new database, list databases, list tables inside a database, and simple queries to show data from a database. First, we need to log in to MySQL shell as the root user. Make sure you run this command below after logging in to your server through SSH.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Linux

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post