MODULE 2
Connection of JSP With MYSQL Database:
After this Click on Admin to create database in XAMPP
Connection of JSP With MYSQL Database:
After this Click on Admin to create database in XAMPP
- 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.
- After the creation of database in MYSQL XAMPP server,then click refresh on MYSQL Services in NetBeans IDE.
- Right click on mydb(database name you have created in MYSQL) and select connect.
- Now you can see that the database has been successfully added here.
- Now the databse is ready to use for web application.
Comments
Post a Comment