Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

บทที่3

362 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

บทที่3

  1. 1. MySQL) MySQL" L MySQL) MySQL AB) SQL = Structured Query Language) Web Server) Server-Side Script) PHP) , ASP.NET) , JSP) Application Program) VB) JAVA)
  2. 2. package src=>New=>Package
  3. 3. Name comment
  4. 4. package Comment Class Package
  5. 5. Name: Class connect
  6. 6. Class Servlet Package Package Package controller >New >
  7. 7. Class name: servlet Class servlet loginservlet
  8. 8. Build Path servlet run
  9. 9. Add Libraries Server Runtime > Next
  10. 10. Code JSP File
  11. 11. Code Java Class Class connect
  12. 12. Code loginservlet
  13. 13. Code loginservlet
  14. 14. MySQL Navicat 1. Navicat Connection Connection Connection Name: Connection Host name/IP address: localhost Port: User name: User name MySQL root Password: MySQL
  15. 15. 2. connection MySQL connection New Database Create New Database Enter database name: Character set: utf8–UTF-8 Unicode Collation: Collation utf8_general_ci OK
  16. 16. Navicat 1. Navicat Tables => New Table
  17. 17. PK
  18. 18. TAP PK Pop u ok
  19. 19. 1

×