Thursday 19 April 2018

How To Install MySQL on Ubuntu

Install:
To install it, simply update the package index on your server and install the default package with apt-get.
  • sudo apt-get update
  • sudo apt-get install mysql-server
  • mysql_secure_installation
To run mysql
k:~➤ mysql -u root -p


list operations in python

How to make each term of an array repeat, with the same terms grouped together? i/p: [A,B,C] o/p: [A,A,A,B,B,B,C,C,C] Solution: >...