[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

MyODBC driver doesn't appear in driver list

Posted on 2004-07-31
7
Medium Priority
?
741 Views
Last Modified: 2012-06-27
Hi there,

I have installed MyODBC3.51.8 and MySQL 4.0.20d on my system (Windows2K+SP4). However, after the installation, the MyODBC driver doesn’t appear in the driver list of ODBC Data Source Administrator. I removed them and installed them, the problem insists. It makes it impossible for my to use the MySQL.

From the document on the Internet, the installation of MyODBC is simple and easy, why I got such problem? Any idea?

Thank you,

Anlee
0
Comment
Question by:Anlee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 11

Expert Comment

by:ajaikumarr
ID: 11686895
Hai,

Check this
1. Go to winnt\system32 folder and check you have myodbc3.dll exist. if exist goto step 4
2. if not Under the registry HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ you should have [MYSQL ...] if it does not created please make sure you have permission for the installing user.
3. Run RegEdt32 goto above registry entry (ODBCINST.INI) and click on Security and provide permission for the user as read & write.
4. Sample Registry entry if you export the key (or you can import this to your registry)
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver]
"UsageCount"=dword:0000000c
"Driver"="C:\\WINNT\\System32\\myodbc3.dll"
"Setup"="C:\\WINNT\\System32\\myodbc3.dll"
"APILevel"="2"
"ConnectFunctions"="YYN"
"DriverODBCVer"="03.51"
"FileUsage"="0"
"FileExtns"="*.txt"
"SQLLevel"="1"
"CPTimeout"="60"
"DSNHelpFile"="C:\\WINNT\\help\\my3dsn.hlp"

<Make sure you have a blank line at end of file in your importing registry file (.reg file)>
5. restart your system and check

Hope this helps your.
0
 

Author Comment

by:Anlee
ID: 11687570
ajaikumarr:

Thank you for your idea. I checked the system32 directory for myodbc3.dll, the file is there, and I checked system registry, the key has the values as below:

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 3.51 Driver]
"UsageCount"=dword:00000001
"Driver"="C:\\WINNT\\System32\\myodbc3.dll"
"Setup"="C:\\WINNT\\System32\\myodbc3.dll"
 
then I imported your sample reg file. Checked the key values are imported successfully. Than, rebooted my system, checked the ODBC Administrator. The MyODBC is still not in the Driver list.

What can I do to resolve this?

Anlee
0
 

Author Comment

by:Anlee
ID: 11689785
I seems cannot resolve this problem. I believe  someone here should have had the same experience as I. Please let me share your idea.

Anlee
0
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 
LVL 11

Accepted Solution

by:
ajaikumarr earned 1000 total points
ID: 11690857
Hai,

I had read some where that this kind of problems had occured for somebody... What he did was he just exports the registry HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ with it subdirectories and then removed the original registry entry and then he imported the same from the file... That works well for him...

Bye
Ajai
0
 

Author Comment

by:Anlee
ID: 11692374
It works. Thank you very much!

Anlee
0
 
LVL 11

Expert Comment

by:ajaikumarr
ID: 11692456
Hai,

Happy to hear that it works for you... Most welcome.

Bye
Ajai
0
 

Expert Comment

by:samadenbaum
ID: 14018599
I'm had a similar problem and exporting the registry and importing didn't work.  However after exporting ODBC entry in the registry file, I inspected the text version.  In the [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers] list of drivers, I found an entry @="" three lines from the bottom.  My mySQL entry was below this.  I don't know the significance of the @=, so I moved it to the end of my list.  I reimported the ODBC and I now had three new drivers in my list.

0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question