Back to Blog

How can I setup a remote connection to MySQL?

October 16, 20131 min read0 comments
mysql
or:
/usr/local/mysql/bin/mysql
Your shell prompt should now look like this:
mysql>
Run this command:
GRANT ALL PRIVILEGES ON *.* TO USERNAME@IP IDENTIFIED BY "PASSWORD";

FLUSH PRIVILEGES;
 

Enjoyed this article?

Show your appreciation with a clap

0claps
Share this article
SK
Written by

Sohaib Khan

View all posts

You might also like

View all

Comments (0)

No comments yet. Be the first to comment!