Skip to content

Etichetă: database

Enable Remote Access in MySQL on Ubuntu/Linux

This is a short an simple tutorial on how to enable remote access on MySQL on Ubuntu/Debian:

  1. Edit the file /etc/mysql/my.cnf: at the line with: bind-address = …
  2. Replace 127.0.0.1 with your server’s IP address.
  3. Save the file!!!
  4. Log in to MySQL: mysql -u root -p