Solved

MyODBC driver doesn't appear in driver list

Posted on 2004-07-31
7
690 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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
A short film showing how OnPage and Connectwise integration works.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 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

11 Experts available now in Live!

Get 1:1 Help Now