Giter VIP home page Giter VIP logo

dareyio-project5's Introduction

dareyio-project5

  1. Create and configure two Linux-based virtual servers (EC2 instances in AWS) Server A name - mysql server Server B name - mysql client
  2. On mysql server Linux Server install MySQL Server software
  3. sudo apt update
  4. sudo apt install mysql-server
  5. sudo systemctl start mysql.service
  6. login to the mysql server (sudo mysql)
  7. change the password for the root user (ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';)
  8. exit mysql server (exit)
  9. open the mysql configuration file on mysql server (sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf) 10 replace the bind-address from 127.0.0.1 to 0.0.0.0
  10. restart mysql service (service mysql restart)
  11. login to mysql server (mysql)
  12. create a new user into mysql server (CREATE USER 'user'@'%' IDENTIFIED BY 'password';)
  13. grant full access to new user (GRANT ALL PRIVILEGES ON . TO 'user'@'%' WITH GRANT OPTION;)
  14. Flush privileges (FLUSH PRIVILEGES;)
  15. On mysql client Linux Server install MySQL Client software
  16. sudo apt update
  17. sudo apt install mysql-client
  18. logon into mysql server using mysql client (mysql -u user -p -h )
  19. supply password for mysql user and press enter

dareyio-project5's People

Contributors

khalidpk44 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.