Manually setup a MySQL user on localhost
----------------------------------------

Log in as root:
# mysql -uroot -p

Create database and grant privileges:
# CREATE DATABASE ntpa;
# CREATE USER 'ntpau'@'localhost' IDENTIFIED BY 'password';
# GRANT ALL PRIVILEGES ON ntpa . * TO 'ntpau'@'localhost';
# FLUSH PRIVILEGES;


Manually setup a MySQL user on a foreign host
---------------------------------------------

Log in as root:
# mysql -uroot -p

Create database and grant privileges:
# CREATE DATABASE ntpa;
# CREATE USER 'ntpau'@'192.168.1.1' IDENTIFIED BY 'password';
# GRANT ALL PRIVILEGES ON ntpa . * TO 'ntpau'@'192.168.1.1';
# FLUSH PRIVILEGES;

