vm
VIRTUAL MACHINE CREATION
- Name of the machine.
- Select os version.
- RAM allocation.
- Hardware allocation.
- CPU allocation.
- Network (bridge network).
- OS installation.
sucessfully installed windows os.
Build the infra for application deployment
Pre-request for the application deployment:
OS: Windows/Linux
JAVA: JDK version 23 or later and setup JDK envinorment variable
By deafut MYSQL databse only connect with localhost:3306
If user connecting the Database connection with IP address : 192.168.29.55:3306. Need to be allow the IP address and following the steps
1.Stop Mysql service
2.add the entry on my.ini file
bind-address = 0.0.0.0
C:\ProgramData\MySQL\MySQL Server 8.0\my.ini
3. start Msql service
4.Also creare new user and allow the all connection
C:\Program Files\MySQL\MySQL Server 8.0\bin>mysql.exe -u root -p
Enter password: *********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 13
mysql> create user 'mani'@'%' identified by 'mani@123';
Query OK, 0 rows affected (0.03 sec)
mysql> grant all on *.* to 'mani'@'%';
Query OK, 0 rows affected (0.01 sec)
mysql> exit
Bye
#Grant **all** privileges on database
5. The new user and password update in you application
Comments
Post a Comment