- Create and configure two Linux-based virtual servers (EC2 instances in AWS) Server A name -
mysql server
Server B name -mysql client
- On mysql server Linux Server install MySQL Server software
- sudo apt update
- sudo apt install mysql-server
- sudo systemctl start mysql.service
- login to the mysql server (sudo mysql)
- change the password for the root user (ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';)
- exit mysql server (exit)
- 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
- restart mysql service (service mysql restart)
- login to mysql server (mysql)
- create a new user into mysql server (CREATE USER 'user'@'%' IDENTIFIED BY 'password';)
- grant full access to new user (GRANT ALL PRIVILEGES ON . TO 'user'@'%' WITH GRANT OPTION;)
- Flush privileges (FLUSH PRIVILEGES;)
- On mysql client Linux Server install MySQL Client software
- sudo apt update
- sudo apt install mysql-client
- logon into mysql server using mysql client (mysql -u user -p -h )
- supply password for mysql user and press enter
dareyio-project5's Introduction
dareyio-project5's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.