Solved

MyODBC driver doesn't appear in driver list

Posted on 2004-07-31
7
675 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
  • 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 11

Accepted Solution

by:
ajaikumarr earned 250 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

I use MySQL for many of my development projects in a Windows environment. To manage my databases (and perform queries) for years I used a tool called MySQL administrator.  This tool has since been replaced by MySQL Workbench. So I decided to m…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

706 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now