Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

On my computer i have both mssql 2000 and mysql 5.0 installed and i'm trying to link to the mysql server through the mssql.

 

I've used this:

 

sp_addlinkedserver

@server='MYSQL2',
@srvproduct='Test',
@provider='MSDASQL',
@datasrc='',
@location='',
@provstr='Driver={MySql ODBC 3.51 driver};Server=localhost;port=3306;Option=131072;
Database=MobilePhones;uid=root;pwd=mypwd',
@catalog=''

 

but when i try to access the linked server i get an error stating that it can't find the data source and that there is no default driver specified. what am i doing wrong here??

I've tried linking to an access database and it worked...

 

And one more thing: Option=131072 what does it mean and where can i find the others Options and what they mean ?

Thanks

  • 1 month later...
  • 5 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...