Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

Access MySQL from the command line

mysql -u -p -h

By default you would use the root user with no password if connecting to localhost only. While it does simplify administration it is also a security risk if your server ever gets violated as anyone with a shell can have full access to your MySQL server.

Share on Twitter
Share on Facebook