Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2010
    Posts
    14

    Default Can't connect to the database using .asp page ?

    Hello guys, I am having a little problem with my web host, I have dropped an email to them but they are not replying to my email.

    One of my client has chosen a windows hosting plan that allows .asp pages, but it doesn't allow access to .mdb database. So, if my client wish to use .asp page in order to connect the MySQL database, how it would be possible connecting mysql using asp ? Also, what code he will need to add or delete records from database ?

  2. #2

    Default

    Hello ,

    In order to connect to a MySql database using asp please use the following connection string

    string ConnStr = "Driver={MySQL ODBC 3.51 Driver};Server=localhost;" +
    "Database=test;uid=root;pwd=;option=3";
    Regarding the code to insert , delete data from the MySQL database your client needs to contact his web developer .

    Regards,
    Euk-Paul

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •