How to install Mysql on Ubuntu Server

On 22 April 2015, in Mysql, Ubuntu, by Himselff
  • sudo apt-get install mysql-server
  • mysql -uroot -p
    • Enter the password
  • grant all on *.* to “root”@”%” identified by “ThePasswordHere” with grant option;
  • exit
  • sudo nano /etc/mysql/my.cnf
  • Modify the line where it says listen to 127.0.0.1 , with your IP
Tagged with:  

Comments are closed.