WebHost.lk - Web Hosting Sri Lanka
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Linux Hosting (cPanel) - Business
    • Linux Hosting - DirectAdmin
    • Reseller Hosting - Linux
    • Special Promotion
    • Wordpress Hosting
    • Student Hosting
    • Register a New Domain
  • Announcements
  • Knowledgebase
  • Network Status
  • Contact Us
  • More
  • Account
    • Login
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. DotNetPanel - Win 2012
  4. ASP .NET / ASP
  5. How do I connect to the MySQL server using Classic ASP ?

  Categories

CMS Hosting
1
cPanel Hosting
30
cPanel Reseller Hosting
8
Databases
4
DirectAdmin Control Panel
7
Domain Names
14
eCommerce Web Hosting
2
Email
2
Error Messages
8
FREE Downloads
1
Sales / Billing
4
Security
11
Support Tickets
4
Tech Support
26
Technical Language
3
Web Hosting FAQs
27

  Categories

  Tag Cloud

help support ticket open ticket domain name good domain web site security WP security joomla security sub domain

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

How do I connect to the MySQL server using Classic ASP ? Print

  • 3

Please use the following connection string on our Windows 2008 servers to connect to the local MySQL service:

"DRIVER={MySQL ODBC 5.1 Driver}; SERVER=127.0.0.1;DATABASE=DBNAME;UID=USERNAME;PWD=PASSWORD;OPTION=3;"


Note :

DBNAME and USERNAME and PASSWORD are what you've already specified in the control panel under MySQL databases.


Was this answer helpful?

Related Articles

How can I enable the ASP .NET v3.5 on my website in the DotNetPanel ? Choose "2.0 Integrated Pipeline" in DNP (Your control panel) > Websites > choose your site... How to Redirect Your Domain in WebsitePanel ? Applied For : Windows 2008 (WebsitePanel) hostingRequirement: First , Your domain should be... How do I connect to MSSQL using Classic ASP ? Please use the following connection string on Windows 2008 servers to connect to the local MSSQL... How to connect to a MS Access database from an ASP Script ? Please use the following sample code to connect to a MS Access .mdb file:<%Dim... My site is showing the following error: HTTP Error 503. The service is unavailable. The error HTTP Error 503. The service is unavailable. generally means that your application pool...
« Back

  Tag Cloud

help support ticket open ticket domain name good domain web site security WP security joomla security sub domain

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2026 WebHost.lk - Web Hosting Sri Lanka. All Rights Reserved.


Loading...
Loading...

Choose Currency

Rs. LKR
$ USD

Generate Password

Please enter a number between 8 and 64 for the password length