Skip to main content

Install MYSQL on Ubuntu

Hey all Techgigs,
Today I am going to show you how to install and download MySQL on Ubuntu.
Follow the below easy steps:


1. Installation of MYSQL:

Follow or copy the below commands in your Ubuntu terminal:
$ sudo apt-get update
$ sudo apt-get install mysql-server

In this way, we have installed MYSQL. Now we need to configure it.

2. Configuration:

$ mysql_secure_installation


Afer successful configuration, let's test the MYSQL installation.

3. Testing MYSQL:

Type the command below for testing MYSQL:
$ systemctl status mysql.service  

4. Launching MYSQL:

$ /usr/bin/mysql -u root -p


Comments

Popular posts from this blog

Install Sticky notes in Ubuntu 16.04

Hello, Now you can use sticky notes in Ubuntu also!! Just follow the steps given below Follow or copy the below commands in your Ubuntu terminal: Step 1: Add a repository: $ sudo add-apt-repository ppa:umang/indicator-stickynotes Step 2: Update: $ sudo apt-get update Step 3: Install Indicator stickynotes: $ sudo apt-get install indicator-stickynotes Thank you!

Add long text /Description / paragraph in an android application

Hello guys, In this tutorial, we will see how to create activity with textview, image view and add long text or description or how to include a paragraph in an activity. Step 1: Create a new project in an android studio. step 2:  Give any name to your project. Step 3: Select the minimum SDK version for your project. Step 4: Select any activity for your project to start with coding. I have selected empty activity here. Step 5: MainActivity will be your default and necessary activity. Step 6: After clicking "Finish", we will be able to get started with our application coding. We all know how to add text to activity but now we will see how to add long text or description or paragraph to our android activity. Below is the code for this project. MainActivity.java : package com.sharayusuryawanshi.lenovo.android_paragraph; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivit...

Redirect to any link from android app with source code

Hello guys, In this tutorial, we are going to tell you that how can you redirect to any link or how can you access any link from your own Android app with source code. Please follow the below steps: Here we are going to upload the data and files to Google drive and going to access those data through our app. Step 1: Refer to this video for uploading data on your Google drive. Step 2: After uploading data to google drive, now we are going to access all these files from our android application. Step 3:  Now create the new android project in the android studio. To create a new project, please visit the link given below: http://scubecodeclub.blogspot.com/2018/09/add-long-text-description-paragraph-in.html Step 4: You can refer or paste the code given below in your project. MainActivity.java: package com.sharayusuryawanshi.lenovo.link_redirection; import android.content.Intent; import android.net.Uri; import android.support.v7.app.AppCompatActivity; import and...