Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Data Source name not found - problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Data Source name not found - problem

 Post Reply Post Reply Page  12>
Author
mrOkay View Drop Down
Newbie
Newbie


Joined: 19 October 2011
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrOkay Quote  Post ReplyReply Direct Link To This Post Topic: Data Source name not found - problem
    Posted: 19 October 2011 at 6:19pm
Hey,
I just tryed this forum, but at the installing process it went down.
Im getting this error
Data source name not found and no default driver specified

I've already read plenty of guys with same problem, but it didn't solve it.

Jeg chose MySQL, and filled out the inputs, but it keeps givin me this error.

What should I do ?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2011 at 8:20am
The error means that the myODBC driver is not installed on your web server and so the web server can not talk to the mySQL database.

There are two choices on the install wizard myODBC 3.51 and myODBC 5.1 select the one that you have installed on the server.

If neither are installed on the server you would need to have the server admin install either myODBC 3.51 or myODBC 5.1 on the server. If you run the server yourself you can download the latest myODBC 5.1 driver for the page below:-

Back to Top
mrOkay View Drop Down
Newbie
Newbie


Joined: 19 October 2011
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrOkay Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2011 at 1:02pm
Hmm

"Use the driver named "mySQL"

That was all my webhotel wrote to me

What sould I do ?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2011 at 1:21pm
They are giving advice for connecting from PHP which has built in drivers to connect to mySQL.

When you connect to mySQL from ASP you need to use the myODBC driver to connect, which needs to be installed on the server.

You need to let your web host know you are connecting to a mySQL Database from ASP which requires the myODBC driver to connect, and ask them which version they have installed, if any.
Back to Top
mrOkay View Drop Down
Newbie
Newbie


Joined: 19 October 2011
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrOkay Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2011 at 2:15pm
I wrote what you said, and they answered:

You have to use the driver named "MySQL"... Its ASP, and it is myODBC

Freakin danish people. I ax'd them twice what version it was, but they didn't answer.

What should I tell em? Should I open up my AK 47 Big smileBig smileBig smile
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2011 at 4:19pm
Sounds like they do not have a glue what they are talking about, are you sure you are not using a reseller who does not have any knowledge of the product they are supporting?

The simple way to put is to them is 'which of the below myODBC drives to you support for mySQL?'

1. MySQL ODBC 5.1 Driver
2. MySQL ODBC 3.51 Driver

If they do not know fire them as they would be useless if you had anything go wrong as they obviously do not have a clue if they con not even answer a simple support question like this.
Back to Top
mrOkay View Drop Down
Newbie
Newbie


Joined: 19 October 2011
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrOkay Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2011 at 4:52pm
I appreciate your help
Actually they are one of the biggest in Denmark, but their support is horrible. This is not the first time.

Now I wait and see for their next answer....
Back to Top
mrOkay View Drop Down
Newbie
Newbie


Joined: 19 October 2011
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote mrOkay Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2011 at 4:56pm
Ok I wrote:

Wich of the folloing is INSTALLED AT YOUR SERVER:

1. MySQL ODBC 5.1 Driver
2. MySQL ODBC 3.51 Driver

Its all mySQL, but is it  ODBC 5.1 or 3.51? Cuz I can't connect to any of them

They answered:

Theres a driver named "mysql" on our webserver, maybe you should try to use that, just like the other thousands os users? It is version 5.1, if you don't know.

Edit:

Btw. They linked to the default way of connecting to mySQL. I run a site with over 1000 users pr. day, but still...

<%
SQLserveradr="[server]"
SQLdatabase="[database]"
SQLlogin="[brugernavn]"
SQLpassword="password"

Set Conn = Server.CreateObject("ADODB.Connection")

conStr = "driver={MySql};server="& SQLserveradr &";database="& SQLdatabase
conStr = conStr & ";uid="& SQLlogin &";pwd="& SQLpassword & ";OPTION=3"

Conn.Open conStr
%>


Edited by mrOkay - 20 October 2011 at 5:37pm
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.