1 / 4
Computer Service
2 / 4
Networking Service
3 / 4
Web Development Service
4 / 4
Software Development Service
TNW - ICT Solutions
  • Home
  • Available Courses 
  • Available Services 
  • Website Samples 
  • Search Log In
  • The followings are the commands to install MySql in Ubuntu.

    1. Open new terminal and type sudo su in it.

    2. Type apt-get install mysql-server php7.0-mysql and press Enter.

    3. Type systemctl status mysql and press Enter. (Checking MySql service working or not)

    4. Type systemctl enabel mysql and press Enter. (Enabling MySql service)

    5. Type systemctl start mysql and press Enter. (Starting MySql Service)

    6. Type mysql_secure_installation and press Enter. (Give Username, Password and follow the procedure)

    7. Type mysql -u root -p and press Enter.(Log In MySql)