Accessing MySQL Database with ASP.NET

Wednesday May 28th 2003 by DatabaseJournal.com Staff
Share:

This step-by-step tutorial makes use of over 20 images to describe every step in detail from obtaining, installing, configuring and running MySQL on Windows to insalling/uninstalling MySQL as a Windows service, creating a new table, populating it with some records and displaying those records in an ASP.NET page. Also explains the advantages of using MySQL on Windows with ASP.NET.

[From Stardeveloper.com]

In this step by step tutorial we will learn how to obtain, install, configure and run MySQL database on Windows. We will then move on to create a table in MySQL database, populate this table with some records and then display those records in the browser using an ASP.NET page.

This tutorial assumes no prior experience with MySQL, though basic knowledge of SQL syntax will be useful. It is assumed that you have a working ASP.NET/IIS installation on your system and you know how to create and view an ASP.NET page. For some beginner ASP.NET articles, have a look at our ASP.NET section.

All examples assume a working installation of IIS 5.0/6.0 and ASP.NET 1.1 on Windows 2000 or above (Windows XP, Windows Server 2003). To obtain information on installing IIS 5.0 and ASP.NET 1.1 move over to ASP.NET web site. The techniques discussed in this article for obtaining, installing, configuring and running MySQL will work the same across almost all versions of Windows (including Windows 98), but installing it as a service and running the ASP.NET page will require NT based Windows systems.

Topics covered in this article:

  • Why use MySQL on Windows?
  • Obtaining and Installing MySQL.
  • Configuring and Running MySQL.
  • Setting root password and removing ghost account.
  • Installing, Uninstalling MySQL as a Windows service.
  • Creating a new table in MySQL database and populating it with some records.
  • Creating the ASP.NET page to display those records.

The article continues at http://www.stardeveloper.com/articles/display.html?article=2003052201&page=1

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved