Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Connection to MySQL causes "Catastrophic failure"

OK, it appears to be a problem with myODBC 3.51.10.
They are working on a fix, untill then using driver 3.51.9 seems to solve the problem.

Flemse

On Mon, 10 Jan 2005 16:00:45 -0500, Flemse < wrote:

I am trying to load data from Excel to MySQL. In PHP everything works fine , but in VB I get error 8000ffff,
"Catastrophic failure".

Sub XLtoMYSQL()
Dim ConnectMySQL As String
Dim conn As ADODB.Connection
Set conn = New ADODB.Connection
Set conn = CreateObject("ADODB.Connection")
ConnectMySQL = _
"DRIVER={Mysql ODBC 3.51 Driver};" & _
"SERVER=myISPIP;DATABASE=myDatabase;" & _
"UID=myUsername;PWD=myPassword"
conn.Open ConnectMySQL
End Sub

I spent all day trying to figure this out.
Any ideas?

Flemming


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel "data base engine failure"? Phone Directory Delima Excel Worksheet Functions 1 March 28th 10 06:38 PM
mail merge "dialog engine failure" donni Excel Discussion (Misc queries) 2 August 25th 08 10:00 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
vba weird messages - "catastrophic failure" newyuppie Excel Programming 2 April 27th 04 03:04 AM
Catastrophic failure HELP!! Christy[_2_] Excel Programming 1 September 29th 03 01:40 AM


All times are GMT +1. The time now is 07:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"