MySQL
sudo /usr/local/mysql/support-files/mysql.server start
sudo /usr/local/mysql/support-files/mysql.server stop
/usr/local/mysql/bin/mysql -u root
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('514112');
exit
/usr/local/mysql/bin/mysql -h localhost -u root -p
CREATE DATABASE database_name;
/usr/local/mysql/bin/mysql -h localhost -u root -p database_name < sql_file_name