Quantcast
Channel: Adam Zwakk
Viewing all articles
Browse latest Browse all 10

Login remotely to a MySQL server through terminal

$
0
0

You don’t need SSH access, just use this command:

mysql -h db.server -u user -p dbname

You’ll need mysql installed on your machine to run it. If you’re on a Mac, you can install mysql through homebrew by typing in terminal:

homebrew install mysql

This can be really handy if you don’t have phpMyAdmin access or your Navicat is acting up.


Viewing all articles
Browse latest Browse all 10

Trending Articles