LAMP server install in Ubuntu
apt-get install lamp-server^
vi /etc/mysql/my.cnf
Comment bind-address 127.0.0.1
MySQL
mysql -u root -p
mysql> SET PASSWORD FOR 'root'@'%'= PASSWORD('infop');
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'infop' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
mysql> exit;
vi /etc/mysql/my.cnf