Solved

MyODBC driver doesn't appear in driver list

Posted on 2004-07-31
7
703 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This guide whil teach how to setup live replication (database mirroring) on 2 servers for backup or other purposes. In our example situation we have this network schema (see atachment). We need to replicate EVERY executed SQL query on server 1 to…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

813 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

12 Experts available now in Live!

Get 1:1 Help Now