Please login to start chat

ICT Solutions 2019-01-10 17:39:41
Category : Ubuntu Knowledge

Installing MySql in Ubuntu

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)

Comments:

No comment to show.

Available Services
Download Android Application