---
title: "Discussion on \"Mysql Database Basics\" | Hashnode"
description: "Discussion on \"Mysql Database Basics\". How to log in to a local database\nMySQL -u(username) -p(password).\nHow to log in to a hosted database.\nmysql -u(username)  -p(password) -h\nHow to dump a database from a server.\nmysql -u(username)  -p(password) -h (db name)>file.sql\n Change password.\n..."
url: "https://hashnode.com/posts/mysql-database-basics/6050fde1825b051f2b9ddc63"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Mysql Database Basics](https://codebeast.hashnode.dev/mysql-database-basics?utm_source=hashnode&utm_medium=feed)

How to log in to a local database MySQL -u(username) -p(password). How to log in to a hosted database. mysql -u(username) -p(password) -h How to dump a database from a server. mysql -u(username) -p(password) -h (db name)>file.sql Change password. ...

Mar 16, 2021 · 1 min read · codebeast.hashnode.dev  
Read the article

-   [#databases](https://hashnode.com/tag/databases)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)

## Written by

[Marline Khavele](https://hashnode.com/@CodeBeast)

@CodeBeast

  
[View profile](https://hashnode.com/@CodeBeast)

Backend Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
