Hi, We have noticed that some MySQL users are having problems to install the MyODBC driver, receiving errors messages like this: An error occurred while copying C:\windows\system\mfc30.dll. Restart windows...... Generally this happens because the ODBC core stuff is ready installed and the MyODBC setup doesn't have the support to verify this and tries to re-write the files. The best work around for this problem is to copy the myodbc.dll on \windows\system ; \winnt\system32 and make its registry in the Windows system registry. To make the MyODBC registry you could use a batch file sent for us by Jim Michaels (see below) and take up the following steps: Create on the same directory which there is the myodbc.dll a batch file e.g: my.bat. Paste the command lines showing below and edit the lines with the Windows\system directory with the correct path of your machine environment. Run the bat. If the myodbc.dll already exists on the system directory, remove the line copy myodbc.dll C:\WINDOWS\SYSTEM. Put attention that every echo line should be not split. Regards, Miguel rem -----Author: Jim Michaels rem -----copy the drivers where all good little ODBC drivers go if errorlevel 1 goto bye copy myodbcd.dll C:\WINDOWS\SYSTEM if errorlevel 1 goto bye rem ----create a .REG file to make registry entries echo REGEDIT4>myodbc.reg echo.>>myodbc.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL]>>myodbc.reg echo "APILevel"="2">>myodbc.reg echo "ConnectFunctions"="YYN">>myodbc.reg echo "Driver"="C:\\WINDOWS\\SYSTEM\\myodbc.dll">>myodbc.reg echo "DriverODBCVer"="02.50">>myodbc.reg echo "FileExtns"="*.txt">>myodbc.reg echo "FileUsage"="0">>myodbc.reg echo "Setup"="C:\\WINDOWS\\SYSTEM\\myodbc.dll">>myodbc.reg echo "SQLLevel"="1">>myodbc.reg echo.>>myodbc.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]>>myodbc.reg echo "MySQL"="Installed">>myodbc.reg echo.>>myodbc.reg rem -----install the registry entries by executing the .REG file start /wait myodbc.reg rem ----clean up after we are done installing del myodbc.reg :bye __ ___ ________ __ / |/ /_ __/ __/ __ \/ / http://www.mysql.com/ / /|_/ / // /\ \/ /_/ / /__ Miguel Solórzano <[EMAIL PROTECTED]> /_/ /_/\_, /___/\___\_\___/ São Paulo, Brazil <___/ Development Team --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php