Loading...


bookmark - Linking To Mysql From Vb

Linking To Mysql From Vb

 
 Discussion by kvarnerexpress with 7 Replies.
 Last Update: October 22, 2008, 10:39 pm
 
bookmark - Linking To Mysql From Vb  
Quickly Post to Linking To Mysql From Vb  w/o signup Share Info about Linking To Mysql From Vb  using Facebook, Twitter etc. email your friend about Linking To Mysql From Vb Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Hi I have used vb to link to an access 2003 database using the adodc component- (connection string etc etc). Right I am now working with mysql (which I would like to say I am loving it) and I have migrated the access 2003 db's into mysql using the migration toolkit . How can I link to mysql db in a similar fashion. Please reply.

Thanx.
kvarnerexpress









   Wed Oct 5, 2005    Reply         

Hello kvarnerexpress,

Please follow the site http://www.connectionstrings.com/ where you get all connection string.

   Wed Oct 5, 2005    Reply         

I'm a bit late, but I will give my contribution to this. On Planet Source Code (here's the link: Planet Source Code), there is a project in Visual Basic, called MyVbQL, that compiles into ActiveX DLL, and can be used to access MySQL databases.

I have used this project, and I can say it works pretty fine, it is stable, and runs fast. It relies fully on libmysql.dll, and even if you upgrade your MySQL server, it will work fine.








   Mon Oct 17, 2005    Reply         


hi, all,

there is no longer need to use thrid-party component that may be not function correctly(of course, some component would be stable as Galahad said)

coz mysql company have made a conponent that is odbc compatible.
you can go here to download.

P.S. .net version component also are here.

   Wed Nov 2, 2005    Reply         

QUOTE (magiccode9)

hi, all,

  there is no longer need to use thrid-party component that may be not function correctly(of course, some component would be stable as Galahad said)

coz mysql company have made a conponent that is odbc compatible.
you can go here to download.

P.S. .net version component also are here.


Thanks so much for that link. I always thought that it would take so much to connect to a MySQL server in .Net programs. How on earth you you use ODBC databases in .Net? I heard of the MySQL OCBC component before, used it once or twice....

   Wed Dec 28, 2005    Reply         

Why don't you use VB.net? It gives you much more flexibility and a better secure connection! Just try It! O.K?

   Fri Jan 13, 2006    Reply         


I was using Microsoft Access database once ago for my project done in JSP (Java Server Pages - similar to PHP). Rather my school only taught me to use Microsoft Access. But I've found a way to connect to MySQL database for an alternative database method.

You will need another connector driver. By default, Microsoft uses ODBC (Open DataBase Connectivity) for it's Microsoft-based databases. A bridge driver is needed to connected Java applications into ODBC, which then connects to the database itself. For Java, the bridge is called JDBC (Java DataBase Connectivity).

As for your case, the current versions of Visual Basics should be based on .NET framework. MySQL has also developed a driver to connect .NET applications to MySQL databases. You will need to download and install the driver to enable the connectivity.
http://dev.mysql.com/downloads/connector/net/1.0.html

The source codes in VB for connecting to MySQL databases should remain unchanged. The only changes that has to be done is to link your MySQL database into ODBC in Administrative Tools in Control Panel.
For more information of these steps, visit the following sites :
http://www.nusphere.com/products/library/d..._mysql_odbc.htm
http://www.15seconds.com/issue/050407.htm

   Fri Jan 13, 2006    Reply         

Try to use vb2mysql to resolve the connectivity of vb6 and mysql
Linking To Mysql From Vb

Hi, I have wrote vb6 code for almost 9 years. Since mysql was released, then I decided to use it as database in my projects. Then I've found on the internet an amazing tool to easily connect and manipulate data, this tool was Vb2MySQL. I always use this tool in all my projects. I think you should try this tool.

-reply by Supriyanto

   Wed Oct 22, 2008    Reply         

Quickly Post to Linking To Mysql From Vb  w/o signup Share Info about Linking To Mysql From Vb  using Facebook, Twitter etc. email your friend about Linking To Mysql From Vb Print
Reply / Comment New Discussion / Topic Share / Bookmark E-Mail a Friend Print

Similar Topics:

Check Referrer To Prevent Linking Y...

Check Referrer Using Php To Prevent People Linking To Your Downloads From Other Sites Ever find that found some people are listing items, images and tuts and linking directly to the download url (those that are like my photoshop tutorial.php?id=0), which is a .php ...more

   19-Aug-2006    Reply         

remote server connection JSP and ...

remote server connection - JSP and MYSQL as a remote server database?Setting Up A Remote Mysql ConnectionCan anyone tell me how to create the connection between the JSP and MYSQL as a remote server database. I am confused with the DSN creation and connection string.-question by pallavi ...more

   25-Feb-2009    Reply         

Linking Strategies : Natural Links

Hi to all I'm sure that everybody in here knows that the key to gain traffic for a website is by learning some SEO strategies and try to apply them on the targeted website * in our case it will be mine *. All SEO trategies are good , and will attract visitors to your website , but se ...more

   01-Apr-2010    Reply         

Receiving Data With Winsock    Receiving Data With Winsock (1) (3) Fetch Data From A Database And Display It In A For   Fetch Data From A Database And Display It In A For