Connection steps of JSP with MYSQL Server

 MODULE 2
Connection of  JSP With  MYSQL Database:

After this Click on Admin to create database in XAMPP 
  1. Select Register MYSQL Server under Databases by clicking on Services tab  :   
  •  Right click on Database and select  Register MYSQL  Server  
  • Click on Admin Properties :c:\xampp\mysql\bin\mysqladmin.exe\
  • Path to Start command:c:\xampp\mysql\bin\mysqld.exe\
  • Path to Stop command:c:\xampp\mysql\bin\mysqladmin.exe\
  • argument:  - u root stop
  • Click OK.




Right Click on MYSQL Server  ->Select Connect:
  1. After the creation of database in MYSQL  XAMPP server,then click refresh on MYSQL Services   in NetBeans IDE.
  2. Right click on mydb(database name you have created in MYSQL) and select connect. 
  3. Now you can see that the database has been successfully added here. 
  4. Now the databse is ready  to use for web application. 















Comments